Constness of 'result' prevents automatic move [performance-no-automatic-move] (0 issues)

This commit is contained in:
Dr. Dystopia committed 2024-08-13 21:51:43 +02:00
1 parent 5af0ae25e6
commit c6eb7c566d
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();