diff --git a/toml/traits.hpp b/toml/traits.hpp index 209856d..0064e37 100644 --- a/toml/traits.hpp +++ b/toml/traits.hpp @@ -92,15 +92,15 @@ struct has_specialized_from_impl { template static std::false_type check(...); - template - static std::true_type check(std::nullptr_t, std::size_t S = sizeof(::toml::from)); + template)> + static std::true_type check(::toml::from*); }; struct has_specialized_into_impl { template static std::false_type check(...); - template - static std::true_type check(std::nullptr_t, std::size_t S = sizeof(::toml::into)); + template)> + static std::true_type check(::toml::from*); };