Browse Source
general: Use deducation guides for std::lock_guard and std::unique_lock
general: Use deducation guides for std::lock_guard and std::unique_lock
Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.nce_cpp
23 changed files with 77 additions and 75 deletions
-
8src/common/detached_tasks.cpp
-
6src/common/logging/backend.cpp
-
10src/common/thread.h
-
4src/common/threadsafe_queue.h
-
6src/core/core_cpu.cpp
-
6src/core/frontend/emu_window.cpp
-
2src/core/hle/kernel/kernel.cpp
-
2src/core/hle/kernel/svc.cpp
-
2src/core/hle/service/nfp/nfp.cpp
-
10src/core/perf_stats.cpp
-
8src/input_common/keyboard.cpp
-
10src/input_common/motion_emu.cpp
-
26src/input_common/sdl/sdl_impl.cpp
-
4src/video_core/debug_utils/debug_utils.cpp
-
4src/video_core/debug_utils/debug_utils.h
-
12src/video_core/gpu_thread.h
-
14src/video_core/rasterizer_cache.h
-
4src/web_service/web_backend.cpp
-
2src/yuzu/applets/profile_select.cpp
-
4src/yuzu/applets/software_keyboard.cpp
-
4src/yuzu/applets/web_browser.cpp
-
2src/yuzu/bootmanager.cpp
-
2src/yuzu/bootmanager.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue