diff --git a/input.cpp b/input.cpp index 0ddcc1fad..ed546b521 100644 --- a/input.cpp +++ b/input.cpp @@ -794,7 +794,7 @@ bool input_mapping_erase(const wcstring &sequence, const wcstring &mode) ASSERT_IS_MAIN_THREAD(); bool result = false; - for (std::vector::const_iterator it = mapping_list.begin(), end = mapping_list.end(); + for (std::vector::iterator it = mapping_list.begin(), end = mapping_list.end(); it != end; ++it) {