2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +00:00

Fix copy elision prevention

This commit is contained in:
RadRussianRus 2020-12-25 00:56:06 +03:00
parent c165cbed32
commit db8042f43b

View File

@ -202,7 +202,7 @@ auto GenerateCodes() {
Ui::show( Ui::show(
Box<RevokePublicLinkBox>( Box<RevokePublicLinkBox>(
&window->session(), &window->session(),
std::move(Fn<void()>())), Fn<void()>()),
Ui::LayerOption::KeepOther); Ui::LayerOption::KeepOther);
}); });