From 12236eae9eb02cb91cd1fc035281287ab7797c41 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 25 Jun 2018 20:40:33 -0600 Subject: [PATCH] creport: Fix bad constructor for ThreadInfo --- stratosphere/creport/source/creport_thread_info.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }