From eff84d5b7f61fa886b9760e8a75ce418c6eebb2a Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 21 Oct 2020 08:11:29 -0700 Subject: [PATCH] Avoid digraphs --- include/boost/json/impl/error.hpp | 8 ++++---- include/boost/json/string.hpp | 2 +- include/boost/json/value.hpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/json/impl/error.hpp b/include/boost/json/impl/error.hpp index 7bee1180..61465166 100644 --- a/include/boost/json/impl/error.hpp +++ b/include/boost/json/impl/error.hpp @@ -17,12 +17,12 @@ namespace boost { namespace system { template<> -struct is_error_code_enum<::boost::json::error> +struct is_error_code_enum< ::boost::json::error > { static bool const value = true; }; template<> -struct is_error_condition_enum<::boost::json::condition> +struct is_error_condition_enum< ::boost::json::condition > { static bool const value = true; }; @@ -33,12 +33,12 @@ struct is_error_condition_enum<::boost::json::condition> namespace std { template<> -struct is_error_code_enum<::boost::json::error> +struct is_error_code_enum< ::boost::json::error > { static bool const value = true; }; template<> -struct is_error_condition_enum<::boost::json::condition> +struct is_error_condition_enum< ::boost::json::condition > { static bool const value = true; }; diff --git a/include/boost/json/string.hpp b/include/boost/json/string.hpp index 92de4063..d010c714 100644 --- a/include/boost/json/string.hpp +++ b/include/boost/json/string.hpp @@ -2883,7 +2883,7 @@ BOOST_JSON_NS_END #ifndef BOOST_JSON_DOCS namespace std { template<> -struct hash<::boost::json::string> +struct hash< ::boost::json::string > { hash() = default; hash(hash const&) = default; diff --git a/include/boost/json/value.hpp b/include/boost/json/value.hpp index fa93bb55..e1bf1001 100644 --- a/include/boost/json/value.hpp +++ b/include/boost/json/value.hpp @@ -3888,7 +3888,7 @@ namespace std { /** Tuple-like size access for key_value_pair */ template<> -struct tuple_size<::boost::json::key_value_pair> +struct tuple_size< ::boost::json::key_value_pair > : std::integral_constant { };