diff --git a/toml/get.hpp b/toml/get.hpp index bbc9a09..1859bbb 100644 --- a/toml/get.hpp +++ b/toml/get.hpp @@ -69,7 +69,9 @@ get(basic_value&& v) template class M, template class V> -inline detail::enable_if_t::value, T> +inline detail::enable_if_t, + detail::negation>> + >::value, T> get(const basic_value& v) { return T(v);