pboettch / json-schema-validator

JSON schema validator for JSON for Modern C++
Other
466 stars 134 forks source link

Deprecation warning with json>3.11.0 #224

Closed Finkman closed 1 year ago

Finkman commented 1 year ago
nlohmann/json-schema.hpp:83:32: warning: ‘nlohmann::json_abi_v3_11_2::json_pointer<RefStringType>::operator nlohmann::json_abi_v3_11_2::json_pointer<RefStringType>::string_t() const [with RefStringType = std::__cxx11::basic_string<char>; nlohmann::json_abi_v3_11_2::json_pointer<RefStringType>::string_t = std::__cxx11::basic_string<char>]’ is deprecated: Since 3.11.0; use to_string() [-Wdeprecated-declarations]
[build]    83 |                         return pointer_;
pboettch commented 1 year ago

Can't reproduce on the main-branch. Are you sure this problem persists on it?

Finkman commented 1 year ago

Sorry, haven't seen, that you switched to main, so I was using old master branch.