summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 2ade252b..df2cab06 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -787,8 +787,7 @@ public:
}
matches.erase(prefix);
CandidateList result;
- std::copy(make_move_iterator(matches.begin()),
- make_move_iterator(matches.end()),
+ std::copy(matches.begin(), matches.end(),
inserter(result, result.begin()));
std::sort(result.begin(), result.end());
return { begin.coord(), end.coord(), std::move(result), buffer.timestamp() };