mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
fix compilation issue with string_view
This commit is contained in:
Vendored
+1
-1
@@ -123,7 +123,7 @@ private:
|
||||
typedef std::true_type yes;
|
||||
typedef std::false_type no;
|
||||
|
||||
template<typename U> static auto test(int) -> decltype(hash_value(std::declval<U&>()) == 1, yes());
|
||||
template<typename U> static auto test(int) -> decltype(hash_value(std::declval<const U&>()) == 1, yes());
|
||||
|
||||
template<typename> static no test(...);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user