mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
use correct deprecation macro
This commit is contained in:
@ -7784,7 +7784,7 @@ class basic_json
|
||||
return from_bson(ptr, ptr + len, strict, allow_exceptions);
|
||||
}
|
||||
|
||||
JSON_HEDLEY_DEPRECATED(3.8.0, from_bson(ptr, ptr + len))
|
||||
JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
static basic_json from_bson(detail::span_input_adapter&& i,
|
||||
const bool strict = true,
|
||||
|
@ -23547,7 +23547,7 @@ class basic_json
|
||||
return from_bson(ptr, ptr + len, strict, allow_exceptions);
|
||||
}
|
||||
|
||||
JSON_HEDLEY_DEPRECATED(3.8.0, from_bson(ptr, ptr + len))
|
||||
JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
|
||||
JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
static basic_json from_bson(detail::span_input_adapter&& i,
|
||||
const bool strict = true,
|
||||
|
Reference in New Issue
Block a user