Jit_Util: Mark a class function as const

This commit is contained in:
Lioncash 2015-09-17 00:21:50 -04:00
parent 6940fc5ab9
commit 00ffc47751
1 changed files with 1 additions and 1 deletions

View File

@ -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; }
};