fix compilation issue with string_view

This commit is contained in:
greg
2020-03-28 17:46:47 -04:00
parent 2f30618e64
commit 9f64feed0c
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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(...);