diff options
author | nyamatongwe <devnull@localhost> | 2013-05-24 00:04:54 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-05-24 00:04:54 +1000 |
commit | 44da106995e3b3ca4068f584c16f59d8fced4e69 (patch) | |
tree | 72512a72ac08ef47a2f40d9b30b0f208a245fda0 /src/Decoration.h | |
parent | 2345e207b44f01e09d8dba69a37b9a67eeefa884 (diff) | |
download | scintilla-mirror-44da106995e3b3ca4068f584c16f59d8fced4e69.tar.gz |
Made methods const where they can be and are logically const as well.
Diffstat (limited to 'src/Decoration.h')
-rw-r--r-- | src/Decoration.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |