From e94a82ac98c9347b7aedbc1aa0bf571dbc628c9e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 2 Apr 2014 22:52:00 +0100 Subject: More OSX fixes --- src/input_handler.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/input_handler.cc') 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() }; -- cgit v1.2.3