Merge pull request #3050 from lioncash/const

Jit_Util: Mark a class function as const
This commit is contained in:
Scott Mansell 2015-09-17 17:14:18 +12:00
commit 1c17d3d653
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; }
};