2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use gsl::finally() instead of base::scope_guard().

This commit is contained in:
John Preston
2017-08-13 19:16:48 +03:00
parent 012d59ab42
commit 17cef93ac0
7 changed files with 8 additions and 35 deletions

View File

@@ -176,7 +176,7 @@ void Manager::stopAllHiding() {
}
void Manager::showNextFromQueue() {
auto guard = base::scope_guard([this] {
auto guard = gsl::finally([this] {
if (_positionsOutdated) {
moveWidgets();
}