diff --git a/parallel_hashmap/phmap.h b/parallel_hashmap/phmap.h index a209016..578fc51 100644 --- a/parallel_hashmap/phmap.h +++ b/parallel_hashmap/phmap.h @@ -2647,7 +2647,7 @@ public: std::is_nothrow_default_constructible::value&& std::is_nothrow_default_constructible::value) {} -#if __cplusplus >= 201703L && (defined(_MSC_VER) || defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6)) +#if (__cplusplus >= 201703L || _MSVC_LANG >= 201402) && (defined(_MSC_VER) || defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6)) explicit parallel_hash_set(size_t bucket_cnt, const hasher& hash_param = hasher(), const key_equal& eq = key_equal(),