diff --git a/doc/container.qbk b/doc/container.qbk index 3dda2b1..981e87e 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -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] diff --git a/test/string_test.cpp b/test/string_test.cpp index 47d78c6..c1c2e89 100644 --- a/test/string_test.cpp +++ b/test/string_test.cpp @@ -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;