diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-06-05 13:33:02 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-06-05 13:33:02 +0000 |
| commit | fd8517f91e9d7deacf5be1471e93571a69cea561 (patch) | |
| tree | 5a1fe78964a971a3dce7163bc79717dfad950a33 /src/buffer.cc | |
| parent | 5936aa6710b274675fba5d621776c32c39e9eace (diff) | |
fix some warnings detected with clang
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 59ece2ae..c111a3b3 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -177,6 +177,7 @@ bool Buffer::undo() for (const Modification& modification : reversed(*m_history_cursor)) apply_modification(modification.inverse()); + return true; } bool Buffer::redo() @@ -188,6 +189,7 @@ bool Buffer::redo() apply_modification(modification); ++m_history_cursor; + return true; } void Buffer::check_invariant() const |
