mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #12997 from tygyh/Remove-constness
Constness of 'result' prevents automatic move [performance-no-automatic-move]
This commit is contained in:
commit
d5522e218f
@ -177,10 +177,8 @@ void VerifyWidget::Verify()
|
|||||||
}
|
}
|
||||||
verifier.Finish();
|
verifier.Finish();
|
||||||
|
|
||||||
const DiscIO::VolumeVerifier::Result result = verifier.GetResult();
|
|
||||||
progress.Reset();
|
progress.Reset();
|
||||||
|
return verifier.GetResult();
|
||||||
return result;
|
|
||||||
});
|
});
|
||||||
SetQWidgetWindowDecorations(progress.GetRaw());
|
SetQWidgetWindowDecorations(progress.GetRaw());
|
||||||
progress.GetRaw()->exec();
|
progress.GetRaw()->exec();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user