diff options
author | nyamatongwe <unknown> | 2013-05-24 00:04:54 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-05-24 00:04:54 +1000 |
commit | 85237dd55cd67cf9f72a751f5a275a910350e5cd (patch) | |
tree | 6a0072e11ce30bf18130cf7fcc3baa37d5fd92fe /src/CellBuffer.cxx | |
parent | d6e875c9b3a507551eb32ca3fff159eb07189fd9 (diff) | |
download | scintilla-mirror-85237dd55cd67cf9f72a751f5a275a910350e5cd.tar.gz |
Made methods const where they can be and are logically const as well.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 769f72464..694260821 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -496,7 +496,7 @@ void CellBuffer::SetSavePoint() { uh.SetSavePoint(); } -bool CellBuffer::IsSavePoint() { +bool CellBuffer::IsSavePoint() const { return uh.IsSavePoint(); } @@ -728,7 +728,7 @@ void CellBuffer::DeleteUndoHistory() { uh.DeleteUndoHistory(); } -bool CellBuffer::CanUndo() { +bool CellBuffer::CanUndo() const { return uh.CanUndo(); } @@ -750,7 +750,7 @@ void CellBuffer::PerformUndoStep() { uh.CompletedUndoStep(); } -bool CellBuffer::CanRedo() { +bool CellBuffer::CanRedo() const { return uh.CanRedo(); } |