diff options
author | nyamatongwe <unknown> | 2009-06-24 10:16:12 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-06-24 10:16:12 +0000 |
commit | 9957218fc9b80cff23aa14eff5a2d788402f2ada (patch) | |
tree | 4ded4bc6c0cf1dbe2f413c1cc82d72ea4bf3488f /src/Partitioning.h | |
parent | a553427cc932a5742e54addd4c228a078d68f8d2 (diff) | |
download | scintilla-mirror-9957218fc9b80cff23aa14eff5a2d788402f2ada.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))) |