diff --git a/README.md b/README.md index 3060baf..ce1aa70 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ int main() result = root.GetValue("game.window.platform.targets", &platformTargetsValue); // Modify the "targets" array by adding a new value - platformTargetsValue->GetValues().push_back(std::make_unique("haiku")); + platformTargetsValue->GetValue().push_back(std::make_unique("haiku")); // Serialize the config result = file.Write("test_out.mini");