From 2f49b798851eeed027f6297b9faccb9a92dc46ab Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 12 May 2019 19:30:36 -0400 Subject: [PATCH] Fix build issue with Intel compiler (issue #9) --- parallel_hashmap/phmap.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parallel_hashmap/phmap.h b/parallel_hashmap/phmap.h index 7079b07..784ef0f 100644 --- a/parallel_hashmap/phmap.h +++ b/parallel_hashmap/phmap.h @@ -3303,7 +3303,12 @@ public: using const_iterator = typename parallel_hash_map::parallel_hash_set::const_iterator; parallel_hash_map() {} + +#ifdef __INTEL_COMPILER using Base::parallel_hash_set; +#else + using parallel_hash_map::parallel_hash_set::parallel_hash_set; +#endif // The last two template parameters ensure that both arguments are rvalues // (lvalue arguments are handled by the overloads below). This is necessary