fix a compile error in a code example

This commit is contained in:
estshorter 2021-10-10 14:07:34 +09:00 committed by GitHub
parent 24284c70ee
commit e40dfc28eb
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";
}