mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Wrapped raw SectionMemento with unique_ptr.
This commit is contained in:
@@ -132,7 +132,7 @@ public:
|
||||
Main::Session &session() const;
|
||||
|
||||
virtual void showSection(
|
||||
SectionMemento &&memento,
|
||||
std::unique_ptr<SectionMemento> &&memento,
|
||||
const SectionShow ¶ms = SectionShow()) = 0;
|
||||
virtual void showBackFromStack(
|
||||
const SectionShow ¶ms = SectionShow()) = 0;
|
||||
@@ -301,7 +301,7 @@ public:
|
||||
bool confirmedLeaveOther = false);
|
||||
|
||||
void showSection(
|
||||
SectionMemento &&memento,
|
||||
std::unique_ptr<SectionMemento> &&memento,
|
||||
const SectionShow ¶ms = SectionShow()) override;
|
||||
void showBackFromStack(
|
||||
const SectionShow ¶ms = SectionShow()) override;
|
||||
|
Reference in New Issue
Block a user