diff --git a/src/util/format/print.h b/src/util/format/print.h index bae06d4..a4372da 100644 --- a/src/util/format/print.h +++ b/src/util/format/print.h @@ -26,13 +26,13 @@ void prettyVariadicFormat(FILE* file, Type type, bool bold, std::string_view for #define FORMAT_FUNCTION(name, type, bold) \ template \ - void name(const char(&format)[N] = "", const Parameters&... parameters) \ + void name(const char(&format)[N], const Parameters&... parameters) \ { \ VariadicParameters variadicParameters { parameters... }; \ prettyVariadicFormat(stdout, Type::type, bold, { format, N - 1 }, variadicParameters); \ } \ template \ - void name(FILE* file, const char(&format)[N] = "", const Parameters&... parameters) \ + void name(FILE* file, const char(&format)[N], const Parameters&... parameters) \ { \ VariadicParameters variadicParameters { parameters... }; \ prettyVariadicFormat(file, Type::type, bold, { format, N - 1 }, variadicParameters); \