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/Decoration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Decoration.h') diff --git a/src/Decoration.h b/src/Decoration.h index fedff9773..23d70c7ca 100644 --- a/src/Decoration.h +++ b/src/Decoration.h @@ -20,7 +20,7 @@ public: Decoration(int indicator_); ~Decoration(); - bool Empty(); + bool Empty() const; }; class DecorationList { @@ -51,7 +51,7 @@ public: void InsertSpace(int position, int insertLength); void DeleteRange(int position, int deleteLength); - int AllOnFor(int position); + int AllOnFor(int position) const; int ValueAt(int indicator, int position); int Start(int indicator, int position); int End(int indicator, int position); -- cgit v1.2.3