From c6eb7c566d4179377e5d1b27b10033fcd854368f Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Tue, 13 Aug 2024 10:20:34 +0200 Subject: [PATCH] Constness of 'result' prevents automatic move [performance-no-automatic-move] (0 issues) --- Source/Core/DolphinQt/Config/VerifyWidget.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Core/DolphinQt/Config/VerifyWidget.cpp b/Source/Core/DolphinQt/Config/VerifyWidget.cpp index 2588682a1c..7c976092b1 100644 --- a/Source/Core/DolphinQt/Config/VerifyWidget.cpp +++ b/Source/Core/DolphinQt/Config/VerifyWidget.cpp @@ -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();