diff options
| author | Tilka <tilkax@gmail.com> | 2024-08-14 02:28:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 02:28:23 +0100 |
| commit | d5522e218fe2b1f3d390cfae4801e7fa709abfc4 (patch) | |
| tree | 258cc909d6fd80ff797dd75a6652edc7345a7a90 /Source/Core | |
| parent | f712ea71f1c598f06d7f50eb243e656a6ba2ad95 (diff) | |
| parent | c6eb7c566d4179377e5d1b27b10033fcd854368f (diff) | |
Merge pull request #12997 from tygyh/Remove-constness
Constness of 'result' prevents automatic move [performance-no-automatic-move]
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/Config/VerifyWidget.cpp | 4 |
1 files changed, 1 insertions, 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(); |
