Skip to content

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

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

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

@leejet

leejet commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR.
I'd prefer not to modify vendored third-party code unless it's necessary for functionality or to fix a blocking issue.
Closing this PR. Thanks!

@leejet leejet closed this Aug 19, 2026
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.

2 participants