diff --git a/include/fmt/core.h b/include/fmt/core.h index 0a72a7e9..e1d02287 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -336,7 +336,7 @@ struct monostate { // `(void)var` method does not work on many intel compilers. This is // from Herb Sutter, "Shutting up compiler warnings", // https://herbsutter.com/2009/10/18/mailbag-shutting-up-compiler-warnings/ -template void ignore_unused( const T& ) { } +template void ignore_unused(const T&) {} // An enable_if helper to be used in template parameters which results in much // shorter symbols: https://godbolt.org/z/sWw4vP. Extra parentheses are needed