diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-24 20:15:47 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-24 20:15:50 -0400 |
commit | b6425c0511f52c63f9f25f5ab8cf18325932aca3 (patch) | |
tree | 4a2e0ac52e87306e082e09ef75a883d9aa4dec93 /src | |
parent | 165c23c84844707249449826a8a18c25877e784b (diff) |
debug_utils: Initialize active_breakpoint member of DebugContext
Ensures that all class members are initialized.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 9382a75e5..08356f103 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h @@ -141,8 +141,8 @@ public: } // TODO: Evaluate if access to these members should be hidden behind a public interface. - std::array<BreakPoint, (int)Event::NumEvents> breakpoints; - Event active_breakpoint; + std::array<BreakPoint, static_cast<int>(Event::NumEvents)> breakpoints; + Event active_breakpoint{}; bool at_breakpoint = false; private: |