aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 14:59:34 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 14:59:34 +0100
commite2c27d8c99a71e5d94ffe49027ec13afeb74b021 (patch)
tree4bed8f7654c112e84bae6f8cce2ca2b2abe94cb4 /src/crepe/api/Script.h
parentc52742e049e68d5ad0beabf8647f543bc2497596 (diff)
replace more vector<reference_wrapper<T>> with RefVector
Diffstat (limited to 'src/crepe/api/Script.h')
-rw-r--r--src/crepe/api/Script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h
index 2b70379..839d937 100644
--- a/src/crepe/api/Script.h
+++ b/src/crepe/api/Script.h
@@ -62,7 +62,7 @@ protected:
* \returns List of component references
*/
template <typename T>
- std::vector<std::reference_wrapper<T>> get_components() const;
+ RefVector<T> get_components() const;
protected:
// NOTE: Script must have a constructor without arguments so the game programmer doesn't need