mirror of https://github.com/axmolengine/axmol.git
issue #3577: const_iterator —> iterator for Vector::erase(first, last). Makes android build happy.
This commit is contained in:
parent
5072e63f89
commit
9342ae105a
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue