Skip to content

Commit 7fd664e

Browse files
Merge pull request #603 from rockwotj/patch-1
Fixes for clang 20
2 parents 68fafa1 + 7f1536f commit 7fd664e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/jsoncons/basic_json.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4714,25 +4714,25 @@ namespace jsoncons {
47144714
inline namespace literals {
47154715

47164716
inline
4717-
jsoncons::json operator "" _json(const char* s, std::size_t n)
4717+
jsoncons::json operator ""_json(const char* s, std::size_t n)
47184718
{
47194719
return jsoncons::json::parse(jsoncons::json::string_view_type(s, n));
47204720
}
47214721

47224722
inline
4723-
jsoncons::wjson operator "" _json(const wchar_t* s, std::size_t n)
4723+
jsoncons::wjson operator ""_json(const wchar_t* s, std::size_t n)
47244724
{
47254725
return jsoncons::wjson::parse(jsoncons::wjson::string_view_type(s, n));
47264726
}
47274727

47284728
inline
4729-
jsoncons::ojson operator "" _ojson(const char* s, std::size_t n)
4729+
jsoncons::ojson operator ""_ojson(const char* s, std::size_t n)
47304730
{
47314731
return jsoncons::ojson::parse(jsoncons::ojson::string_view_type(s, n));
47324732
}
47334733

47344734
inline
4735-
jsoncons::wojson operator "" _ojson(const wchar_t* s, std::size_t n)
4735+
jsoncons::wojson operator ""_ojson(const wchar_t* s, std::size_t n)
47364736
{
47374737
return jsoncons::wojson::parse(jsoncons::wojson::string_view_type(s, n));
47384738
}

0 commit comments

Comments
 (0)