From ea8902a3cc155f830600a69125c79e3287630139 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 31 Jul 2024 21:45:26 +0200 Subject: [PATCH] Target.hpp: Fix the shitty Yerbacon::fail call in Target::forName Signed-off-by: Username404-59 --- src/headers/transpiler/Target.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/transpiler/Target.hpp b/src/headers/transpiler/Target.hpp index 2060c7f..687606c 100644 --- a/src/headers/transpiler/Target.hpp +++ b/src/headers/transpiler/Target.hpp @@ -171,7 +171,7 @@ unique_ptr Target::forName(string_view name, const bool newLines = true) #undef make_task #undef make_task_base_R #undef make_task_base - Yerbacon::fail({"\"", string(1, (char) toupper(name.at(1))).data(), name.substr(2).data(), "\" is not a valid target."}); + Yerbacon::fail({"\"", name.data(), "\" is not a valid target."}); return nullptr; }