Codechange: Use std::unique_ptr for ai/game config.

This commit is contained in:
Peter Nelson
2025-03-23 23:29:33 +00:00
committed by Peter Nelson
parent 7f3820fa7e
commit 422ff9dbd8
12 changed files with 86 additions and 73 deletions

View File

@@ -66,7 +66,7 @@ public:
* Create a new Script config that is a copy of an existing config.
* @param config The object to copy.
*/
ScriptConfig(const ScriptConfig *config);
ScriptConfig(const ScriptConfig &config);
/** Delete an Script configuration. */
virtual ~ScriptConfig();