From db66bb4babb19e8a86d5c61281c8b94469729d03 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 21 Nov 2024 10:52:22 +0100 Subject: use OptionalRef instead of pointer references --- src/crepe/system/ScriptSystem.cpp | 30 +++++++++--------------------- src/crepe/system/ScriptSystem.h | 11 ----------- 2 files changed, 9 insertions(+), 32 deletions(-) (limited to 'src/crepe/system') diff --git a/src/crepe/system/ScriptSystem.cpp b/src/crepe/system/ScriptSystem.cpp index c33309c..d54bbc9 100644 --- a/src/crepe/system/ScriptSystem.cpp +++ b/src/crepe/system/ScriptSystem.cpp @@ -1,5 +1,3 @@ -#include - #include "../ComponentManager.h" #include "../api/BehaviorScript.h" #include "../api/Script.h" @@ -12,30 +10,20 @@ using namespace crepe; void ScriptSystem::update() { dbg_trace(); - RefVector