diff options
author | nyamatongwe <devnull@localhost> | 2009-06-24 10:16:12 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-06-24 10:16:12 +0000 |
commit | 961f79014a8a2c8e809664e9e6444aa2042595e0 (patch) | |
tree | 4ded4bc6c0cf1dbe2f413c1cc82d72ea4bf3488f /src/Partitioning.h | |
parent | 1f43bf9fe1b4df2daf93d1776a88d41929946864 (diff) | |
download | scintilla-mirror-961f79014a8a2c8e809664e9e6444aa2042595e0.tar.gz |
Some extra const constraints added while working on discontiguous selection.
Diffstat (limited to 'src/Partitioning.h')
-rw-r--r-- | src/Partitioning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Partitioning.h b/src/Partitioning.h index 752e69614..225e350e0 100644 --- a/src/Partitioning.h +++ b/src/Partitioning.h @@ -153,7 +153,7 @@ public: return pos; } - int PartitionFromPosition(int pos) { + int PartitionFromPosition(int pos) const { if (body->Length() <= 1) return 0; if (pos >= (PositionFromPartition(body->Length()-1))) |