From d6d809db87750a1e47d7a2a2d3f5e2d59d94f146 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 14 May 2019 08:18:44 -0400 Subject: yuzu: Remove explicit types from locks where applicable With C++17's deduction guides, the type doesn't need to be explicitly specified within locking primitives anymore. --- src/yuzu/applets/error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu/applets/error.cpp') diff --git a/src/yuzu/applets/error.cpp b/src/yuzu/applets/error.cpp index 1fb2fe277..106dde9e2 100644 --- a/src/yuzu/applets/error.cpp +++ b/src/yuzu/applets/error.cpp @@ -54,6 +54,6 @@ void QtErrorDisplay::ShowCustomErrorText(ResultCode error, std::string dialog_te void QtErrorDisplay::MainWindowFinishedError() { // Acquire the HLE mutex - std::lock_guard lock(HLE::g_hle_lock); + std::lock_guard lock{HLE::g_hle_lock}; callback(); } -- cgit v1.2.3