mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Fix build failure
std::vector::erase() didn't take const_iterator until C++11 >_<
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user