diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-03-04 10:35:24 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-03-04 10:35:24 +1100 |
| commit | a2fc89a6ecf928b169104b496cafb264e05c2129 (patch) | |
| tree | 3142056f1ad5470f19f2979f37ae126d50c53301 /src/selection.cc | |
| parent | 2fd42fe5fcd7af52ce2306ea78a416b4ed0d06ef (diff) | |
Remove SelectionList::update_timestamp()
This single line member function was only used once, inline it
directly.
Diffstat (limited to 'src/selection.cc')
| -rw-r--r-- | src/selection.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selection.cc b/src/selection.cc index b536ee1b..00280a4d 100644 --- a/src/selection.cc +++ b/src/selection.cc @@ -48,12 +48,11 @@ void SelectionList::set(Vector<Selection> list, size_t main) kak_assert(main < list.size()); m_selections = std::move(list); m_main = main; + m_timestamp = m_buffer->timestamp(); sort_and_merge_overlapping(); - update_timestamp(); check_invariant(); } - namespace { |
