diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-11-10 12:03:34 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-11-10 12:03:34 +1100 |
| commit | e74fba928993ecd6502215ccfe5aaa8d58de7a30 (patch) | |
| tree | c4702042bdba828a34644c48a8fcff953f478986 /src/buffer.hh | |
| parent | 1713d1db7acab3a058939550588c051686638045 (diff) | |
| parent | 87e5a2f512a37b0b4a9f1a5700b0f54424e48f26 (diff) | |
Merge remote-tracking branch 'eraserhd/cppcheck'
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index ab9d3248..a586e828 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -188,8 +188,8 @@ public: // returns nearest valid coordinates from given ones BufferCoord clamp(BufferCoord coord) const; - BufferCoord offset_coord(BufferCoord coord, CharCount offset, ColumnCount, bool); - BufferCoordAndTarget offset_coord(BufferCoordAndTarget coord, LineCount offset, ColumnCount tabstop, bool avoid_eol); + BufferCoord offset_coord(BufferCoord coord, CharCount offset, ColumnCount, bool) const; + BufferCoordAndTarget offset_coord(BufferCoordAndTarget coord, LineCount offset, ColumnCount tabstop, bool avoid_eol) const; const String& name() const { return m_name; } const String& display_name() const { return m_display_name; } |
