From a2fc89a6ecf928b169104b496cafb264e05c2129 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 4 Mar 2018 10:35:24 +1100 Subject: Remove SelectionList::update_timestamp() This single line member function was only used once, inline it directly. --- src/selection.hh | 1 - 1 file changed, 1 deletion(-) (limited to 'src/selection.hh') 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 strings, InsertMode mode, Vector* out_insert_pos = nullptr); -- cgit v1.2.3