2
0
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:
23rd
2020-11-22 01:37:05 +03:00
committed by John Preston
parent de6b460754
commit c8643aa1ee
25 changed files with 67 additions and 63 deletions

View File

@@ -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 &params = Window::SectionShow()) override;
void showBackFromStack(
const Window::SectionShow &params = 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 &params = Window::SectionShow()) override;
void showBackFromStack(
const Window::SectionShow &params = Window::SectionShow()) override;