diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-22 21:25:51 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-22 21:25:51 -0700 |
commit | 80078491bd1f3555051a64da6ec0daa397792f76 (patch) | |
tree | ebac3e1e2a5788c85484c01ccd36a5e6b6f6bd13 /input.cpp | |
parent | 0a3f2205729d13897e86efe2b7d9452000117605 (diff) |
Fix build failure
std::vector::erase() didn't take const_iterator until C++11 >_<
Diffstat (limited to 'input.cpp')
-rw-r--r-- | input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -794,7 +794,7 @@ bool input_mapping_erase(const wcstring &sequence, const wcstring &mode) ASSERT_IS_MAIN_THREAD(); bool result = false; - for (std::vector<input_mapping_t>::const_iterator it = mapping_list.begin(), end = mapping_list.end(); + for (std::vector<input_mapping_t>::iterator it = mapping_list.begin(), end = mapping_list.end(); it != end; ++it) { |