general: Use template deduction guides for lock_guard

Same behavior, less code.
This commit is contained in:
Lioncash
2020-10-25 13:53:19 -04:00
parent c7b6027f34
commit 59a56fa810
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -596,6 +596,6 @@ void QtControllerSelector::ReconfigureControllers(
void QtControllerSelector::MainWindowReconfigureFinished() {
// Acquire the HLE mutex
std::lock_guard<std::recursive_mutex> lock(HLE::g_hle_lock);
std::lock_guard lock(HLE::g_hle_lock);
callback();
}