diff options
Diffstat (limited to 'gcc-4.6/libstdc++-v3/include/debug/map.h')
-rw-r--r-- | gcc-4.6/libstdc++-v3/include/debug/map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.6/libstdc++-v3/include/debug/map.h b/gcc-4.6/libstdc++-v3/include/debug/map.h index 3108519..177797d 100644 --- a/gcc-4.6/libstdc++-v3/include/debug/map.h +++ b/gcc-4.6/libstdc++-v3/include/debug/map.h @@ -273,6 +273,10 @@ namespace __debug this->_M_invalidate_if(_Equal(__position.base())); return iterator(_Base::erase(__position.base()), this); } + + iterator + erase(iterator __position) + { return erase(const_iterator(__position)); } #else void erase(iterator __position) |