From b6425c0511f52c63f9f25f5ab8cf18325932aca3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 24 Aug 2018 20:15:47 -0400 Subject: debug_utils: Initialize active_breakpoint member of DebugContext Ensures that all class members are initialized. --- src/video_core/debug_utils/debug_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video_core/debug_utils/debug_utils.h') 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 breakpoints; - Event active_breakpoint; + std::array(Event::NumEvents)> breakpoints; + Event active_breakpoint{}; bool at_breakpoint = false; private: -- cgit v1.2.3