From 9957218fc9b80cff23aa14eff5a2d788402f2ada Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 24 Jun 2009 10:16:12 +0000 Subject: Some extra const constraints added while working on discontiguous selection. --- src/Partitioning.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Partitioning.h') 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))) -- cgit v1.2.3