mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +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