mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Wrapped raw SectionMemento with unique_ptr.
This commit is contained in:
@@ -56,7 +56,7 @@ void SharedMediaShowOverview(
|
||||
return;
|
||||
}
|
||||
}
|
||||
windows.front()->showSection(Info::Memento(
|
||||
windows.front()->showSection(std::make_unique<Info::Memento>(
|
||||
history->peer,
|
||||
Info::Section(type)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user