aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 15:50:13 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 15:50:13 +0100
commit5e59c22f77073fdf49bf98697da6a68819eb5776 (patch)
treeed53c8306c93825e9a33d642ae976ec97eb94fb1 /src/crepe/api/Script.hpp
parent7ec392eda3345606f0de75a432954b221cee82ce (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Script.hpp')
-rw-r--r--src/crepe/api/Script.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Script.hpp b/src/crepe/api/Script.hpp
index afe653f..d755fda 100644
--- a/src/crepe/api/Script.hpp
+++ b/src/crepe/api/Script.hpp
@@ -13,7 +13,8 @@ T & Script::get_component() const {
std::vector<std::reference_wrapper<T>> all_components
= this->get_components<T>();
if (all_components.size() < 1)
- throw Exception("Script: no component found with type = %s", typeid(T).name());
+ throw Exception("Script: no component found with type = %s",
+ typeid(T).name());
return all_components.back().get();
}