Skip to content

Commit

Permalink
Merge pull request #1058 from dns13/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
nlohmann authored Apr 17, 2018
2 parents 46ec2fd + 65b4d82 commit 0ab8fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3405,7 +3405,7 @@ class basic_json
@return copy of the element at key @a key or @a default_value if @a key
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.
@complexity Logarithmic in the size of the container.
Expand Down
2 changes: 1 addition & 1 deletion single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13046,7 +13046,7 @@ class basic_json
@return copy of the element at key @a key or @a default_value if @a key
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.

@complexity Logarithmic in the size of the container.
Expand Down

0 comments on commit 0ab8fab

Please sign in to comment.