mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-03 18:49:30 +00:00
Use shared_ptr<Memento> for sections.
This commit is contained in:
@@ -56,7 +56,7 @@ void SharedMediaShowOverview(
|
||||
return;
|
||||
}
|
||||
}
|
||||
windows.front()->showSection(std::make_unique<Info::Memento>(
|
||||
windows.front()->showSection(std::make_shared<Info::Memento>(
|
||||
history->peer,
|
||||
Info::Section(type)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user