Deprecate json_pointer::operator string_t()
This commit is contained in:
parent
e5f3eb2d7d
commit
7ce92a6375
@ -78,6 +78,7 @@ class json_pointer
|
|||||||
|
|
||||||
/// @brief return a string representation of the JSON pointer
|
/// @brief return a string representation of the JSON pointer
|
||||||
/// @sa https://json.nlohmann.me/api/json_pointer/operator_string/
|
/// @sa https://json.nlohmann.me/api/json_pointer/operator_string/
|
||||||
|
JSON_HEDLEY_DEPRECATED_FOR(3.11.0, to_string())
|
||||||
operator string_t() const
|
operator string_t() const
|
||||||
{
|
{
|
||||||
return to_string();
|
return to_string();
|
||||||
|
|||||||
@ -13526,6 +13526,7 @@ class json_pointer
|
|||||||
|
|
||||||
/// @brief return a string representation of the JSON pointer
|
/// @brief return a string representation of the JSON pointer
|
||||||
/// @sa https://json.nlohmann.me/api/json_pointer/operator_string/
|
/// @sa https://json.nlohmann.me/api/json_pointer/operator_string/
|
||||||
|
JSON_HEDLEY_DEPRECATED_FOR(3.11.0, to_string())
|
||||||
operator string_t() const
|
operator string_t() const
|
||||||
{
|
{
|
||||||
return to_string();
|
return to_string();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user