diff options
-rw-r--r-- | libadhocutil/compileTimeFormatter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index 82cfa79..d191ffc 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -83,11 +83,10 @@ namespace AdHoc { template<const auto & S, auto L, auto pos, typename stream, auto ... sn> struct StreamWriter<S, L, pos, stream, '%', sn...> { template<typename ... Pn> - static void write(stream &, const Pn & ...) + static void write(stream & s, const Pn & ...) { - static_assert(!&err, "invalid format string/arguments"); + static_assert(!&s, "invalid format string/arguments"); } - static int err; }; /** |