Merge pull request #1058 from dns13/patch-1

Fix typo
This commit is contained in:
Niels Lohmann 2018-04-17 23:26:00 +05:30 committed by GitHub
commit 0ab8fab338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -3405,7 +3405,7 @@ class basic_json
@return copy of the element at key @a key or @a default_value if @a key @return copy of the element at key @a key or @a default_value if @a key
is not found is not found
@throw type_error.306 if the JSON value is not an objec; in that case, @throw type_error.306 if the JSON value is not an object; in that case,
using `value()` with a key makes no sense. using `value()` with a key makes no sense.
@complexity Logarithmic in the size of the container. @complexity Logarithmic in the size of the container.

View file

@ -13046,7 +13046,7 @@ class basic_json
@return copy of the element at key @a key or @a default_value if @a key @return copy of the element at key @a key or @a default_value if @a key
is not found is not found
@throw type_error.306 if the JSON value is not an objec; in that case, @throw type_error.306 if the JSON value is not an object; in that case,
using `value()` with a key makes no sense. using `value()` with a key makes no sense.
@complexity Logarithmic in the size of the container. @complexity Logarithmic in the size of the container.