Merge pull request #3050 from lioncash/const
Jit_Util: Mark a class function as const
This commit is contained in:
commit
1c17d3d653
|
@ -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; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue