BAN: Formatter now uses perfect forwarding on its arguments

This commit is contained in:
Bananymous
2023-03-08 21:31:26 +02:00
parent 3ac99f1bd8
commit 371dfe8ef3
8 changed files with 175 additions and 155 deletions

View File

@@ -82,7 +82,7 @@ namespace BAN::Formatter
{
template<typename F>
void print_argument_impl(F putc, const String& string, const ValueFormat&)
void print_argument(F putc, const String& string, const ValueFormat&)
{
for (String::size_type i = 0; i < string.size(); i++)
putc(string[i]);