summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-25 02:17:47 +0200
committerLioncash <mathew1800@gmail.com>2018-08-25 02:49:14 +0200
commit1e6a209649909a5cfa599aef3a1971cb34f5e27d (patch)
treef750af520e9dc8f9249836a4e59de9ab229d5c73 /src
parentdebug_utils: Initialize active_breakpoint member of DebugContext (diff)
downloadyuzu-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 'src')
-rw-r--r--src/video_core/debug_utils/debug_utils.h2
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);