diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-06 21:04:37 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-06 21:04:37 +1000 |
commit | cda15af9657880e91ccf65603e109b202d9e78bf (patch) | |
tree | eb730cdcc810842ce2255c3d2af9872041583a74 /include/Platform.h | |
parent | dba2fe55b8a4ab4ac34795fe4a4b30a729c77016 (diff) | |
download | scintilla-mirror-cda15af9657880e91ccf65603e109b202d9e78bf.tar.gz |
Added const where possible.
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Platform.h b/include/Platform.h index 1ff48ecb1..48ee720ca 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -136,7 +136,7 @@ public: // Other automatically defined methods (assignment, copy constructor, destructor) are fine - bool operator==(PRectangle &rc) const { + bool operator==(const PRectangle &rc) const { return (rc.left == left) && (rc.right == right) && (rc.top == top) && (rc.bottom == bottom); } |