Update Badge<T> instantiations to simply be {}.

This commit is contained in:
Andreas Kling 2019-05-31 15:44:04 +02:00
parent fa6446fc0d
commit fdf3608c8a
Notes: sideshowbarker 2024-07-19 13:49:22 +09:00
11 changed files with 23 additions and 23 deletions

View file

@ -20,10 +20,10 @@ void GAbstractView::set_model(RetainPtr<GModel>&& model)
if (model == m_model)
return;
if (m_model)
m_model->unregister_view(Badge<GAbstractView>(), *this);
m_model->unregister_view({}, *this);
m_model = move(model);
if (m_model)
m_model->register_view(Badge<GAbstractView>(), *this);
m_model->register_view({}, *this);
did_update_model();
}