summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/profile/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/profile/map.h')
-rw-r--r--libstdc++-v3/include/profile/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/include/profile/map.h b/libstdc++-v3/include/profile/map.h
index 622bc575ad2..eb5c5d90d9c 100644
--- a/libstdc++-v3/include/profile/map.h
+++ b/libstdc++-v3/include/profile/map.h
@@ -327,6 +327,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)