Skip to content

fix: silence clang deprecation warnings in json.hpp - #1888

Open
vmobilis wants to merge 1 commit into
leejet:masterfrom
vmobilis:patch-2
Open

fix: silence clang deprecation warnings in json.hpp#1888
vmobilis wants to merge 1 commit into
leejet:masterfrom
vmobilis:patch-2

Conversation

@vmobilis

@vmobilis vmobilis commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Clang complains that spaces in declarations of literal operators are deprecated:

json.hpp:24314:35: warning: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator]
 24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n)
       |                       ~~~~~~~~~~~~^~~~~
       |                       operator""_json

Additional Information

It's not a complete update of a third party dependency, so I hope it doesn't need to open a discussion first.
And thank you.

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant