diff --git a/stratosphere/creport/source/creport_thread_info.hpp b/stratosphere/creport/source/creport_thread_info.hpp index 6efc69c8a..e7204863f 100644 --- a/stratosphere/creport/source/creport_thread_info.hpp +++ b/stratosphere/creport/source/creport_thread_info.hpp @@ -37,9 +37,7 @@ class ThreadInfo { u64 stack_trace[0x20]; u32 stack_trace_size; public: - ThreadInfo() { - (*this) = {}; - } + ThreadInfo() : context{}, thread_id(0), stack_top(0), stack_bottom(0), stack_trace{}, stack_trace_size(0) { } u64 GetPC() { return context.pc; } u64 GetLR() { return context.lr; }