Code enhancement: remove use of deprecated function std::bind2nd
Fixed use of deprecated function std::bind2nd.
This commit is contained in:
parent
d38559b339
commit
e74cb34e22
@ -780,7 +780,7 @@ void WindowsDlg::doClose()
|
|||||||
--(*itr);
|
--(*itr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_idxMap.erase(std::remove_if(_idxMap.begin(), _idxMap.end(), bind2nd(equal_to<int>(), -1)), _idxMap.end());
|
_idxMap.erase(remove_if(_idxMap.begin(), _idxMap.end(), bind(equal_to<int>(), placeholders::_1, -1)), _idxMap.end());
|
||||||
}
|
}
|
||||||
delete[] nmdlg.Items;
|
delete[] nmdlg.Items;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user