diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:59:34 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:59:34 +0100 |
commit | e2c27d8c99a71e5d94ffe49027ec13afeb74b021 (patch) | |
tree | 4bed8f7654c112e84bae6f8cce2ca2b2abe94cb4 /src/crepe/system/ScriptSystem.h | |
parent | c52742e049e68d5ad0beabf8647f543bc2497596 (diff) |
replace more vector<reference_wrapper<T>> with RefVector
Diffstat (limited to 'src/crepe/system/ScriptSystem.h')
-rw-r--r-- | src/crepe/system/ScriptSystem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/system/ScriptSystem.h b/src/crepe/system/ScriptSystem.h index deb89cb..32e1fcd 100644 --- a/src/crepe/system/ScriptSystem.h +++ b/src/crepe/system/ScriptSystem.h @@ -1,9 +1,9 @@ #pragma once -#include <forward_list> - #include "System.h" +#include "../types.h" + namespace crepe { class Script; @@ -33,7 +33,7 @@ private: * * \returns List of active \c Script instances */ - std::forward_list<std::reference_wrapper<Script>> get_scripts() const; + RefVector<Script> get_scripts() const; }; } // namespace crepe |