aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
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"
-