Target.hpp: Don't use to_string in the Target::forName function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
b7a22e0e51
commit
6e35682911
|
@ -167,7 +167,7 @@ unique_ptr<Target> Target::forName(string_view name, const bool newLines = true)
|
|||
#undef make_task
|
||||
#undef make_task_base_R
|
||||
#undef make_task_base
|
||||
Yerbacon::fail({"\"", to_string(toupper(name.at(1))).data(), name.substr(2).data(), "\" is not a valid target."});
|
||||
Yerbacon::fail({"\"", string(1, (char) toupper(name.at(1))).data(), name.substr(2).data(), "\" is not a valid target."});
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue