From aad1f86faed0dc179daf00340f97233750b68269 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 18 Oct 2022 16:00:14 +0300 Subject: [PATCH] Reflect the change in is_null_like --- include/boost/variant2/variant.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/boost/variant2/variant.hpp b/include/boost/variant2/variant.hpp index 2c7b7bb..72c0083 100644 --- a/include/boost/variant2/variant.hpp +++ b/include/boost/variant2/variant.hpp @@ -2438,11 +2438,9 @@ template typename result_for::type result_from_errno( int e, boost::source_location const* loc ) noexcept; -template struct is_null_like; +template struct is_null_like; -template<> struct is_null_like< variant2::monostate, void >: std::true_type -{ -}; +template<> struct is_null_like: std::true_type {}; } // namespace json