aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 20:47:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 20:47:19 +0200
commitb3b762a34e7ccb4a0dcd041a693ac7180af16002 (patch)
tree8dadbebf3b4ffc187de9c1c508d36d1d6060f7ad /src/crepe/api/Script.h
parent195f7770c42aa1ed1052725dde26699d2ecc689f (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Script.h')
-rw-r--r--src/crepe/api/Script.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h
index 4950b5c..59e6ec0 100644
--- a/src/crepe/api/Script.h
+++ b/src/crepe/api/Script.h
@@ -22,10 +22,10 @@ protected:
// added event.
protected:
- template<typename T>
+ template <typename T>
T & get_component();
- template<typename T>
+ template <typename T>
std::vector<std::reference_wrapper<T>> get_components();
private:
@@ -36,4 +36,3 @@ private:
} // namespace crepe::api
#include "Script.hpp"
-