Merge pull request #12997 from tygyh/Remove-constness

Constness of 'result' prevents automatic move [performance-no-automatic-move]
This commit is contained in:
Tilka authored and GitHub committed 2024-08-14 02:28:23 +01:00
commit d5522e218f
1 file changed
+1 -3
@@ -177,10 +177,8 @@ void VerifyWidget::Verify()
}
verifier.Finish();
const DiscIO::VolumeVerifier::Result result = verifier.GetResult();
progress.Reset();
return result;
return verifier.GetResult();
});
SetQWidgetWindowDecorations(progress.GetRaw());
progress.GetRaw()->exec();