From 961f79014a8a2c8e809664e9e6444aa2042595e0 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/CellBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CellBuffer.cxx') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 7134d3188..5385cccde 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -62,7 +62,7 @@ void LineVector::RemoveLine(int line) { } } -int LineVector::LineFromPosition(int pos) { +int LineVector::LineFromPosition(int pos) const { return starts.PartitionFromPosition(pos); } -- cgit v1.2.3