diff options
| author | flacs <tilkax@gmail.com> | 2015-06-05 04:52:14 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-06-05 04:52:14 +0200 |
| commit | 2f2e514b54cdb327f07471b562ad1ad6a375c509 (patch) | |
| tree | 447d8db32c91ee1e94bd11213beaa0fe61ddb8fa /Source/Core/Common/CodeBlock.h | |
| parent | 97382ec90a8c960d12836aa5b979e70da40bb9f5 (diff) | |
| parent | fe77505d4ddd23614d9ea9fe8081df92b86aa07b (diff) | |
Merge pull request #2524 from lioncash/aarch64
Arm64: Make some functions const.
Diffstat (limited to 'Source/Core/Common/CodeBlock.h')
| -rw-r--r-- | Source/Core/Common/CodeBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h index c982245912..ed1f464904 100644 --- a/Source/Core/Common/CodeBlock.h +++ b/Source/Core/Common/CodeBlock.h @@ -51,7 +51,7 @@ public: region_size = 0; } - bool IsInSpace(u8 *ptr) + bool IsInSpace(u8 *ptr) const { return (ptr >= region) && (ptr < (region + region_size)); } |
