diff --git a/include/tao/json/binary.hpp b/include/tao/json/binary.hpp index bd165b3d..96b1d939 100644 --- a/include/tao/json/binary.hpp +++ b/include/tao/json/binary.hpp @@ -91,7 +91,7 @@ namespace tao::json inline namespace literals { template< char... Cs > - [[nodiscard]] std::vector< std::byte > operator"" _binary() + [[nodiscard]] std::vector< std::byte > operator""_binary() { return internal::unhex< std::vector< std::byte >, Cs... >(); } diff --git a/include/tao/json/from_string.hpp b/include/tao/json/from_string.hpp index 3262b9c2..2760d190 100644 --- a/include/tao/json/from_string.hpp +++ b/include/tao/json/from_string.hpp @@ -29,7 +29,7 @@ namespace tao::json inline namespace literals { - [[nodiscard]] inline value operator"" _json( const char* data, const std::size_t size ) + [[nodiscard]] inline value operator""_json( const char* data, const std::size_t size ) { return json::from_string( data, size, "literal" ); } diff --git a/include/tao/json/jaxn/from_string.hpp b/include/tao/json/jaxn/from_string.hpp index 7d68ba26..53bfc659 100644 --- a/include/tao/json/jaxn/from_string.hpp +++ b/include/tao/json/jaxn/from_string.hpp @@ -30,7 +30,7 @@ namespace tao::json::jaxn inline namespace literals { - [[nodiscard]] inline value operator"" _jaxn( const char* data, const std::size_t size ) + [[nodiscard]] inline value operator""_jaxn( const char* data, const std::size_t size ) { return jaxn::from_string( data, size, "literal" ); } diff --git a/include/tao/json/pointer.hpp b/include/tao/json/pointer.hpp index 5e3d451d..7f727c0b 100644 --- a/include/tao/json/pointer.hpp +++ b/include/tao/json/pointer.hpp @@ -425,7 +425,7 @@ namespace tao::json inline namespace literals { - [[nodiscard]] inline pointer operator"" _json_pointer( const char* data, const std::size_t size ) + [[nodiscard]] inline pointer operator""_json_pointer( const char* data, const std::size_t size ) { return pointer( { data, size } ); }