issue #3577: const_iterator —> iterator for Vector::erase(first, last). Makes android build happy.

This commit is contained in:
James Chen 2014-01-03 20:28:30 +08:00
parent 5072e63f89
commit 9342ae105a
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ public:
* @return An iterator pointing to the new location of the element that followed the last element erased by the function call.
* This is the container end if the operation erased the last element in the sequence.
*/
iterator erase(const_iterator first, const_iterator last)
iterator erase(iterator first, iterator last)
{
for (auto iter = first; iter != last; ++iter)
{