From 85237dd55cd67cf9f72a751f5a275a910350e5cd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 24 May 2013 00:04:54 +1000 Subject: Made methods const where they can be and are logically const as well. --- src/RunStyles.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/RunStyles.h') diff --git a/src/RunStyles.h b/src/RunStyles.h index 521c701fa..b096ad800 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -30,9 +30,9 @@ public: ~RunStyles(); int Length() const; int ValueAt(int position) const; - int FindNextChange(int position, int end); - int StartRun(int position); - int EndRun(int position); + int FindNextChange(int position, int end) const; + int StartRun(int position) const; + int EndRun(int position) const; // Returns true if some values may have changed bool FillRange(int &position, int value, int &fillLength); void SetValueAt(int position, int value); @@ -44,7 +44,7 @@ public: bool AllSameAs(int value) const; int Find(int value, int start) const; - void Check(); + void Check() const; }; #ifdef SCI_NAMESPACE -- cgit v1.2.3