From 4bd3b28823648a8290d88a69d1e1ecd5cb0b5037 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 8 Apr 2018 21:32:13 -0400 Subject: [PATCH] PPCAnalyst: in-class initialize PPCAnalyzer's members Eliminates the need to assign in the constructor initializer list. --- Source/Core/Core/PowerPC/PPCAnalyst.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.h b/Source/Core/Core/PowerPC/PPCAnalyst.h index ca286d8f4b..55e0045938 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.h +++ b/Source/Core/Core/PowerPC/PPCAnalyst.h @@ -205,7 +205,6 @@ public: OPTION_CROR_MERGE = (1 << 6), }; - PPCAnalyzer() : m_options(0) {} // Option setting/getting void SetOption(AnalystOption option) { m_options |= option; } void ClearOption(AnalystOption option) { m_options &= ~(option); } @@ -225,7 +224,7 @@ private: void SetInstructionStats(CodeBlock* block, CodeOp* code, const GekkoOPInfo* opinfo, u32 index); // Options - u32 m_options; + u32 m_options = 0; }; void LogFunctionCall(u32 addr);