PPCAnalyst: Make local constants constexpr

This commit is contained in:
Lioncash 2016-09-26 19:51:48 -04:00
parent e7aad130e9
commit a947391556
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{