From a9473915567e0636f60adb40f888e9895592613e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 26 Sep 2016 19:51:48 -0400 Subject: [PATCH] PPCAnalyst: Make local constants constexpr --- Source/Core/Core/PowerPC/PPCAnalyst.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp index 69c95acd0b..97fc26b7eb 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp +++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp @@ -30,9 +30,9 @@ namespace PPCAnalyst { -static const int CODEBUFFER_SIZE = 32000; +constexpr int CODEBUFFER_SIZE = 32000; // 0 does not perform block merging -static const u32 FUNCTION_FOLLOWING_THRESHOLD = 16; +constexpr u32 FUNCTION_FOLLOWING_THRESHOLD = 16; CodeBuffer::CodeBuffer(int size) {