diff options
| author | nyamatongwe <unknown> | 2010-03-13 21:22:03 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-03-13 21:22:03 +0000 |
| commit | 1b2967ee84232e3053eb6d7299f11982b91d6d81 (patch) | |
| tree | a506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/Decoration.h | |
| parent | 0f626757c6c63c22943ad7e86650b9ad8787584f (diff) | |
| download | scintilla-mirror-1b2967ee84232e3053eb6d7299f11982b91d6d81.tar.gz | |
Adding const to methods where possible.
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 2809641af..fedff9773 100644 --- a/src/Decoration.h +++ b/src/Decoration.h @@ -40,10 +40,10 @@ public: ~DecorationList(); void SetCurrentIndicator(int indicator); - int GetCurrentIndicator() { return currentIndicator; } + int GetCurrentIndicator() const { return currentIndicator; } void SetCurrentValue(int value); - int GetCurrentValue() { return currentValue; } + int GetCurrentValue() const { return currentValue; } // Returns true if some values may have changed bool FillRange(int &position, int value, int &fillLength); |
