Merge pull request #172 from estshorter/fix_readme

fix a compile error in a code example
This commit is contained in:
Toru Niina 2021-10-10 14:44:00 +09:00 committed by GitHub
commit f2f2b44d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}