2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +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

@@ -132,7 +132,7 @@ public:
Main::Session &session() const;
virtual void showSection(
SectionMemento &&memento,
std::unique_ptr<SectionMemento> &&memento,
const SectionShow &params = SectionShow()) = 0;
virtual void showBackFromStack(
const SectionShow &params = SectionShow()) = 0;
@@ -301,7 +301,7 @@ public:
bool confirmedLeaveOther = false);
void showSection(
SectionMemento &&memento,
std::unique_ptr<SectionMemento> &&memento,
const SectionShow &params = SectionShow()) override;
void showBackFromStack(
const SectionShow &params = SectionShow()) override;