Update README.md

This commit is contained in:
2025-02-02 20:55:11 +01:00
committed by GitHub
parent d7bc969b70
commit 538c977f14

View File

@@ -56,7 +56,7 @@ int main()
result = root.GetValue("game.window.platform.targets", &platformTargetsValue); result = root.GetValue("game.window.platform.targets", &platformTargetsValue);
// Modify the "targets" array by adding a new value // Modify the "targets" array by adding a new value
platformTargetsValue->GetValues().push_back(std::make_unique<MiniPPFile::Values::StringValue>("haiku")); platformTargetsValue->GetValue().push_back(std::make_unique<MiniPPFile::Values::StringValue>("haiku"));
// Serialize the config // Serialize the config
result = file.Write("test_out.mini"); result = file.Write("test_out.mini");