From 0bf32c2ffc05a0418902a9c2e08ddb6e5958fbf4 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 27 Mar 2019 21:08:58 -0400 Subject: [PATCH] old gnu libstd++ don't have make_unique --- parallel_hashmap/phmap_base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parallel_hashmap/phmap_base.h b/parallel_hashmap/phmap_base.h index 58a3764..1f687b2 100644 --- a/parallel_hashmap/phmap_base.h +++ b/parallel_hashmap/phmap_base.h @@ -1264,7 +1264,8 @@ struct MakeUniqueResult { } // namespace memory_internal #if (__cplusplus > 201103L || defined(_MSC_VER)) && \ - !(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) + !(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) && + !(defined (__GLIBCXX__) && __GLIBCXX__ <= 20141030) using std::make_unique; #else