mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 21:14:30 +02:00
Fully qualified "unique" call to avoid ADL ambiguities with some older compilers.
This commit is contained in:
@@ -1219,6 +1219,7 @@ use [*Boost.Container]? There are several reasons for that:
|
||||
* [@https://svn.boost.org/trac/boost/ticket/11170 Trac #11170: ['"Doc slip for index_of"]].
|
||||
* [@https://svn.boost.org/trac/boost/ticket/12177 Trac #12177: ['"vector::priv_merge uses unqualified uintptr_t"]].
|
||||
* [@https://svn.boost.org/trac/boost/ticket/12183 Trac #12183: ['"GCC 6.1 thinks boost::container::string violates strict aliasing"]].
|
||||
* [@https://svn.boost.org/trac/boost/ticket/12286 Trac #12286: ['"PMR flat_map from Boost Container does not compile"]].
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@@ -347,9 +347,9 @@ int string_test()
|
||||
|
||||
if(!CheckEqualStringVector(boostStringVect, stdStringVect)) return 1;
|
||||
|
||||
boostStringVect->erase((unique)(boostStringVect->begin(), boostStringVect->end()),
|
||||
boostStringVect->erase(::unique(boostStringVect->begin(), boostStringVect->end()),
|
||||
boostStringVect->end());
|
||||
stdStringVect->erase((unique)(stdStringVect->begin(), stdStringVect->end()),
|
||||
stdStringVect->erase(::unique(stdStringVect->begin(), stdStringVect->end()),
|
||||
stdStringVect->end());
|
||||
if(!CheckEqualStringVector(boostStringVect, stdStringVect)) return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user