From 9f65a4e6dd735ecdcb4b469b485ff643cd1f54fe Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 19 Apr 2015 15:00:37 +0100 Subject: Remove Context::set_selections, use Context::selections() = ... --- src/context.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/context.cc') diff --git a/src/context.cc b/src/context.cc index 3612d7f5..ca186cb1 100644 --- a/src/context.cc +++ b/src/context.cc @@ -211,12 +211,6 @@ Vector Context::selections_content() const return contents; } -void Context::set_selections(Vector sels) -{ - *m_selections = std::move(sels); - (*m_selections).check_invariant(); -} - void Context::begin_edition() { if (m_edition_level >= 0) -- cgit v1.2.3