aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Script.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Script.hpp b/src/crepe/api/Script.hpp
index d755fda..7ec3ebe 100644
--- a/src/crepe/api/Script.hpp
+++ b/src/crepe/api/Script.hpp
@@ -13,7 +13,7 @@ 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",
+ throw Exception("Script: no component found with type = {}",
typeid(T).name());
return all_components.back().get();