From 00ffc477514ba7691834bc810c9c90938e231452 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 17 Sep 2015 00:21:50 -0400 Subject: [PATCH] Jit_Util: Mark a class function as const --- Source/Core/Core/PowerPC/JitCommon/Jit_Util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h index 21d19a88f6..fe10691192 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h @@ -30,7 +30,7 @@ class FarCodeCache : public Gen::X64CodeBlock private: bool m_enabled = false; public: - bool Enabled() { return m_enabled; } + bool Enabled() const { return m_enabled; } void Init(int size) { AllocCodeSpace(size); m_enabled = true; } void Shutdown() { FreeCodeSpace(); m_enabled = false; } };