summaryrefslogtreecommitdiff
path: root/o3tl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-25 16:21:05 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-25 16:28:17 +0200
commitf317119be32071e9ef82f3d8ff53170a5456ea0c (patch)
tree0d2a7fa7a4371f8a9d4d061013ff19986118627c /o3tl
parentf5a625f61a4f0209a4ec74b919241593a56b5500 (diff)
sorted_vector: MSVC doesn't know which erase to call
Change-Id: Ib81388db2f93db662bb5439565f311835b08073e
Diffstat (limited to 'o3tl')
-rw-r--r--o3tl/inc/o3tl/sorted_vector.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/o3tl/inc/o3tl/sorted_vector.hxx b/o3tl/inc/o3tl/sorted_vector.hxx
index bf1cca5eb937..48ad0bcbabb6 100644
--- a/o3tl/inc/o3tl/sorted_vector.hxx
+++ b/o3tl/inc/o3tl/sorted_vector.hxx
@@ -68,11 +68,6 @@ public:
}
// hack: public erase with const_iterator, should not change sort order
- void erase(const_iterator const& position)
- {
- base_t::erase(begin_nonconst() + (position - begin()));
- }
-
void erase(const_iterator const& first, const_iterator const& last)
{
base_t::erase(begin_nonconst() + (first - begin()),