mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
fix msvc support for issue #128 when flag /Zc:__cplusplus not specified
This commit is contained in:
Vendored
+1
-1
@@ -2647,7 +2647,7 @@ public:
|
||||
std::is_nothrow_default_constructible<key_equal>::value&&
|
||||
std::is_nothrow_default_constructible<allocator_type>::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(),
|
||||
|
||||
Reference in New Issue
Block a user