diff --git a/single_include/toml.hpp b/single_include/toml.hpp index 2658c2e..504ff9e 100644 --- a/single_include/toml.hpp +++ b/single_include/toml.hpp @@ -3869,7 +3869,7 @@ struct bad_result_access final : public ::toml::exception template struct success { - static_assert( ! std::is_same::value, ""); + static_assert( ! std::is_void::value, ""); using value_type = T; @@ -3903,7 +3903,7 @@ struct success template struct success> { - static_assert( ! std::is_same::value, ""); + static_assert( ! std::is_void::value, ""); using value_type = T;