1
0
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:
Francois Chabot
2020-05-28 12:16:10 -04:00
parent d575534471
commit ce3143a038
2 changed files with 2 additions and 2 deletions

View File

@ -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,