use correct deprecation macro

This commit is contained in:
Francois Chabot committed 2020-05-28 12:16:10 -04:00
1 parent d575534471
commit ce3143a038
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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,