summaryrefslogtreecommitdiff
path: root/src/selection.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-08-18 08:52:40 +0700
committerMaxime Coste <mawww@kakoune.org>2017-08-18 08:52:40 +0700
commit82d23bc400616989297953785da85cffc73cbc2c (patch)
treea4c601d2f3033a89c84bbc558ee679f51b1d4a34 /src/selection.cc
parent609a8ee8c793856b8c1e6b7c553ee3475ca8308f (diff)
Remove now trivial Selection::merge_with method
Diffstat (limited to 'src/selection.cc')
-rw-r--r--src/selection.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/selection.cc b/src/selection.cc
index 43f47090..d55b3d20 100644
--- a/src/selection.cc
+++ b/src/selection.cc
@@ -7,11 +7,6 @@
namespace Kakoune
{
-void Selection::merge_with(const Selection& other)
-{
- m_cursor = other.m_cursor;
-}
-
SelectionList::SelectionList(Buffer& buffer, Selection s, size_t timestamp)
: m_buffer(&buffer), m_selections({ std::move(s) }), m_timestamp(timestamp)
{