diff options
Diffstat (limited to 'generator/osm2meta.cpp')
-rw-r--r-- | generator/osm2meta.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/generator/osm2meta.cpp b/generator/osm2meta.cpp index 340050c782..9b76032a84 100644 --- a/generator/osm2meta.cpp +++ b/generator/osm2meta.cpp @@ -7,11 +7,13 @@ #include "base/logging.hpp" #include "base/string_utils.hpp" -#include "std/algorithm.hpp" -#include "std/cctype.hpp" -#include "std/cmath.hpp" -#include "std/cstdlib.hpp" -#include "std/unordered_set.hpp" +#include <algorithm> +#include <cctype> +#include <cmath> +#include <cstdlib> +#include <unordered_set> + +using namespace std; namespace { @@ -29,7 +31,7 @@ void RemoveDuplicatesAndKeepOrder(vector<T> & vec) seen.insert(value); return false; }; - vec.erase(std::remove_if(vec.begin(), vec.end(), predicate), vec.end()); + vec.erase(remove_if(vec.begin(), vec.end(), predicate), vec.end()); } // Also filters out duplicates. |