Browse Source

debug_utils: Initialize active_breakpoint member of DebugContext

Ensures that all class members are initialized.
pull/15/merge
Lioncash 7 years ago
parent
commit
b6425c0511
  1. 4
      src/video_core/debug_utils/debug_utils.h

4
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:

Loading…
Cancel
Save