diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-25 02:17:47 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-25 02:49:14 +0200 |
commit | 1e6a209649909a5cfa599aef3a1971cb34f5e27d (patch) | |
tree | f750af520e9dc8f9249836a4e59de9ab229d5c73 /src/video_core/debug_utils/debug_utils.h | |
parent | debug_utils: Initialize active_breakpoint member of DebugContext (diff) | |
download | yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.tar yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.tar.gz yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.tar.bz2 yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.tar.lz yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.tar.xz yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.tar.zst yuzu-1e6a209649909a5cfa599aef3a1971cb34f5e27d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 08356f103..427ca154c 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h @@ -46,7 +46,7 @@ public: class BreakPointObserver { public: /// Constructs the object such that it observes events of the given DebugContext. - BreakPointObserver(std::shared_ptr<DebugContext> debug_context) + explicit BreakPointObserver(std::shared_ptr<DebugContext> debug_context) : context_weak(debug_context) { std::unique_lock<std::mutex> lock(debug_context->breakpoint_mutex); debug_context->breakpoint_observers.push_back(this); |