summaryrefslogtreecommitdiff
path: root/src/context.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-04-19 15:00:37 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-04-19 15:00:37 +0100
commit9f65a4e6dd735ecdcb4b469b485ff643cd1f54fe (patch)
treef606eb06aaaf75395bdec2833956e7d03f80c840 /src/context.cc
parentb570c68c75314cb58be5a22f0a6afd310c0efca2 (diff)
Remove Context::set_selections, use Context::selections() = ...
Diffstat (limited to 'src/context.cc')
-rw-r--r--src/context.cc6
1 files changed, 0 insertions, 6 deletions
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<String> Context::selections_content() const
return contents;
}
-void Context::set_selections(Vector<Selection> sels)
-{
- *m_selections = std::move(sels);
- (*m_selections).check_invariant();
-}
-
void Context::begin_edition()
{
if (m_edition_level >= 0)