mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Wrapped raw SectionMemento with unique_ptr.
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
virtual rpl::producer<QString> mediaSourceQueryValue() const;
|
||||
|
||||
void showSection(
|
||||
Window::SectionMemento &&memento,
|
||||
std::unique_ptr<Window::SectionMemento> &&memento,
|
||||
const Window::SectionShow ¶ms = Window::SectionShow()) override;
|
||||
void showBackFromStack(
|
||||
const Window::SectionShow ¶ms = Window::SectionShow()) override;
|
||||
@@ -202,7 +202,7 @@ public:
|
||||
void saveSearchState(not_null<ContentMemento*> memento);
|
||||
|
||||
void showSection(
|
||||
Window::SectionMemento &&memento,
|
||||
std::unique_ptr<Window::SectionMemento> &&memento,
|
||||
const Window::SectionShow ¶ms = Window::SectionShow()) override;
|
||||
void showBackFromStack(
|
||||
const Window::SectionShow ¶ms = Window::SectionShow()) override;
|
||||
|
Reference in New Issue
Block a user