Fully qualified "unique" call to avoid ADL ambiguities with some older compilers.

This commit is contained in:
Ion Gaztañaga
2016-06-28 11:53:13 +02:00
parent e7faf92113
commit 7e232bbc19
2 changed files with 3 additions and 2 deletions

View File

@@ -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;