diff options
Diffstat (limited to 'src/video_core/debug_utils')
| -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: | |||
| 46 | class BreakPointObserver { | 46 | class BreakPointObserver { |
| 47 | public: | 47 | public: |
| 48 | /// Constructs the object such that it observes events of the given DebugContext. | 48 | /// Constructs the object such that it observes events of the given DebugContext. |
| 49 | BreakPointObserver(std::shared_ptr<DebugContext> debug_context) | 49 | explicit BreakPointObserver(std::shared_ptr<DebugContext> debug_context) |
| 50 | : context_weak(debug_context) { | 50 | : context_weak(debug_context) { |
| 51 | std::unique_lock<std::mutex> lock(debug_context->breakpoint_mutex); | 51 | std::unique_lock<std::mutex> lock(debug_context->breakpoint_mutex); |
| 52 | debug_context->breakpoint_observers.push_back(this); | 52 | debug_context->breakpoint_observers.push_back(this); |