diff options
Diffstat (limited to 'gcc-4.6/libstdc++-v3/include/profile/map.h')
-rw-r--r-- | gcc-4.6/libstdc++-v3/include/profile/map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.6/libstdc++-v3/include/profile/map.h b/gcc-4.6/libstdc++-v3/include/profile/map.h index 1edc16c..a58a2b0 100644 --- a/gcc-4.6/libstdc++-v3/include/profile/map.h +++ b/gcc-4.6/libstdc++-v3/include/profile/map.h @@ -326,6 +326,10 @@ namespace __profile __profcxx_map_to_unordered_map_erase(this, size(), 1); return __i; } + + iterator + erase(iterator __position) + { return erase(const_iterator(__position)); } #else void erase(iterator __position) |