mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 02:08:53 +00:00
Update Badge<T> instantiations to simply be {}.
This commit is contained in:
parent
fa6446fc0d
commit
fdf3608c8a
Notes:
sideshowbarker
2024-07-19 13:49:22 +09:00
Author: https://github.com/awesomekling
Commit: fdf3608c8a
11 changed files with 23 additions and 23 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue