diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-15 20:49:37 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-15 20:49:37 +0100 |
commit | fdd5c471dffd4a204a91e8d1d70567fa56ea29a5 (patch) | |
tree | ece2c3e32261fe9b0f7ccd3aa3bd4e98f74e3b28 /src/crepe/api/Script.hpp | |
parent | e8cd950b8ebd152d76d588d4fedc7f4c239b0835 (diff) |
`make format`
Diffstat (limited to 'src/crepe/api/Script.hpp')
-rw-r--r-- | src/crepe/api/Script.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Script.hpp b/src/crepe/api/Script.hpp index 13b8077..c4e07e8 100644 --- a/src/crepe/api/Script.hpp +++ b/src/crepe/api/Script.hpp @@ -12,7 +12,8 @@ T & Script::get_component() const { using namespace std; vector<reference_wrapper<T>> all_components = this->get_components<T>(); if (all_components.size() < 1) - throw runtime_error(format("Script: no component found with type = {}", typeid(T).name())); + throw runtime_error( + format("Script: no component found with type = {}", typeid(T).name())); return all_components.back().get(); } |