From 9fd3bdca9de2d37b63e1646b22d32b0b182f01ee Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 16 Oct 2024 18:24:16 +0200 Subject: use unique_ptr instead of manual memory management in behaviorscript --- src/crepe/ScriptSystem.cpp | 2 +- src/crepe/api/BehaviorScript.cpp | 7 ------- src/crepe/api/BehaviorScript.h | 6 ++++-- src/crepe/api/BehaviorScript.hpp | 3 ++- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/crepe/ScriptSystem.cpp b/src/crepe/ScriptSystem.cpp index 0537c16..1a7bff4 100644 --- a/src/crepe/ScriptSystem.cpp +++ b/src/crepe/ScriptSystem.cpp @@ -40,7 +40,7 @@ forward_list