fix: remove redefined default template argument

This commit is contained in:
ToruNiina
2019-03-16 16:24:10 +09:00
parent 30a41aa710
commit 43014c6619

View File

@@ -329,9 +329,7 @@ T get(const toml::value& v)
}
template<typename T, typename std::enable_if<detail::conjunction<
detail::negation<detail::is_exact_toml_type<T>> // not a toml::value
>::value, std::nullptr_t>::type,
std::size_t = sizeof(::toml::from<T>) // and has from<T> specialization
>
>::value, std::nullptr_t>::type, std::size_t> // and has from<T>
T get(const toml::value& v)
{
return ::toml::from<T>::from_toml(v);