diff options
| author | Josh Ferrell <josh@vector35.com> | 2025-07-02 15:00:40 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2025-07-03 14:09:16 -0400 |
| commit | f4d1bae870ac04bb1b1392c6b7d173aa7e079d5e (patch) | |
| tree | d6c13053f1e97f4b79c5b883dd78a0e41893674d /vendor | |
| parent | aa9f13d44a271d969d0ec69f5ce0ec159560e8c1 (diff) | |
Fix C++ deprecation warnings in nlohmann and rapidjson
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/nlohmann/json.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/nlohmann/json.hpp b/vendor/nlohmann/json.hpp index 658a707f..21cd75f6 100644 --- a/vendor/nlohmann/json.hpp +++ b/vendor/nlohmann/json.hpp @@ -25252,7 +25252,7 @@ if no parse error occurred. @since version 1.0.0 */ JSON_HEDLEY_NON_NULL(1) -inline nlohmann::json operator "" _json(const char* s, std::size_t n) +inline nlohmann::json operator ""_json(const char* s, std::size_t n) { return nlohmann::json::parse(s, s + n); } @@ -25271,7 +25271,7 @@ object if no parse error occurred. @since version 2.0.0 */ JSON_HEDLEY_NON_NULL(1) -inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) +inline nlohmann::json::json_pointer operator ""_json_pointer(const char* s, std::size_t n) { return nlohmann::json::json_pointer(std::string(s, n)); } |
