mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
Fix build failure
std::vector::erase() didn't take const_iterator until C++11 >_<
This commit is contained in:
parent
0a3f220572
commit
80078491bd
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user