summaryrefslogtreecommitdiff
path: root/src/selection.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-04 10:35:24 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-04 10:35:24 +1100
commita2fc89a6ecf928b169104b496cafb264e05c2129 (patch)
tree3142056f1ad5470f19f2979f37ae126d50c53301 /src/selection.hh
parent2fd42fe5fcd7af52ce2306ea78a416b4ed0d06ef (diff)
Remove SelectionList::update_timestamp()
This single line member function was only used once, inline it directly.
Diffstat (limited to 'src/selection.hh')
-rw-r--r--src/selection.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/selection.hh b/src/selection.hh
index 27820700..bf24ad95 100644
--- a/src/selection.hh
+++ b/src/selection.hh
@@ -137,7 +137,6 @@ struct SelectionList
Buffer& buffer() const { return *m_buffer; }
size_t timestamp() const { return m_timestamp; }
- void update_timestamp() { m_timestamp = m_buffer->timestamp(); }
void insert(ConstArrayView<String> strings, InsertMode mode,
Vector<BufferCoord>* out_insert_pos = nullptr);