diff --git a/.travis.yml b/.travis.yml index 0190f36..aa9cc83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ matrix: sources: - llvm-toolchain-trusty-5.0 packages: + - g++-8 - clang-5.0 env: COMPILER='clang++-5.0' CXXSTD='c++17' @@ -17,4 +18,4 @@ dist: trusty sudo: false script: - mkdir build && cd build && cmake -DPHMAP_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=${COMPILER} -DCXXFLAGS="-std=${CXXSTD}" .. && cmake --build . -- VERBOSE=1 && make test + mkdir build && cd build && cmake -DPHMAP_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=${COMPILER} -DCXXFLAGS="-std=${CXXSTD}" .. && cmake --build . && make test diff --git a/parallel_hashmap/phmap_base.h b/parallel_hashmap/phmap_base.h index 40e2285..9814642 100644 --- a/parallel_hashmap/phmap_base.h +++ b/parallel_hashmap/phmap_base.h @@ -1264,8 +1264,7 @@ struct MakeUniqueResult { } // namespace memory_internal #if (__cplusplus > 201103L || defined(_MSC_VER)) && \ - !(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) && \ - !(defined (__GLIBCXX__) && __GLIBCXX__ <= 20151030) + !(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) using std::make_unique; #else