Skip to content

Commit

Permalink
Merge pull request #172 from estshorter/fix_readme
Browse files Browse the repository at this point in the history
fix a compile error in a code example
  • Loading branch information
ToruNiina authored Oct 10, 2021
2 parents 24284c7 + e40dfc2 commit f2f2b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main()
std::vector<int> nums = toml::find<std::vector<int>>(data, "nums");

// access with STL-like manner
if(not data.contains("foo"))
if(!data.contains("foo"))
{
data["foo"] = "bar";
}
Expand Down

0 comments on commit f2f2b44

Please sign in to comment.