diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 15:52:57 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 15:52:57 +0100 |
commit | 78c370bd6cb37c156d06e098fe4e555a9da9dcee (patch) | |
tree | 00ee16cb652811b009642833514a2e2b1f5e1d15 /src/crepe/api | |
parent | 5e59c22f77073fdf49bf98697da6a68819eb5776 (diff) |
fix format strings w/o printf
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Script.hpp | 2 |
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(); |