Skip to content

Commit

Permalink
Fix typo in exception error message (skystrife#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloede authored and skystrife committed Jun 4, 2018
1 parent a8158d1 commit b5f1aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpptoml.h
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ class parser
if (auto v = value->as<Value>())
arr->get().push_back(value);
else
throw_parse_exception("Arrays must be heterogeneous");
throw_parse_exception("Arrays must be homogeneous");
skip_whitespace_and_comments(it, end);
if (*it != ',')
break;
Expand Down

0 comments on commit b5f1aa6

Please sign in to comment.