summaryrefslogtreecommitdiff
path: root/src/context.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-01-12 13:58:41 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-01-12 13:58:41 +0000
commitda562e03a0126adf60d84682f5892b1f610a6ba5 (patch)
treee938413b8f25f70562f93c60e7afe95ee82c473c /src/context.cc
parent83d0813b0ffc8f329a214b533467c761d734e0c1 (diff)
replace all std::vector with Vector
Diffstat (limited to 'src/context.cc')
-rw-r--r--src/context.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/context.cc b/src/context.cc
index 84b83405..3612d7f5 100644
--- a/src/context.cc
+++ b/src/context.cc
@@ -202,16 +202,16 @@ const SelectionList& Context::selections() const
return const_cast<Context&>(*this).selections();
}
-std::vector<String> Context::selections_content() const
+Vector<String> Context::selections_content() const
{
auto& buf = buffer();
- std::vector<String> contents;
+ Vector<String> contents;
for (auto& sel : selections())
contents.push_back(buf.string(sel.min(), buf.char_next(sel.max())));
return contents;
}
-void Context::set_selections(std::vector<Selection> sels)
+void Context::set_selections(Vector<Selection> sels)
{
*m_selections = std::move(sels);
(*m_selections).check_invariant();