diff --git a/fmt/format.h b/fmt/format.h index 56d8b8d7..dd8d2836 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1437,7 +1437,7 @@ class MakeValue : public Arg { typename T, typename = typename std::enable_if< std::is_enum::value && ConvertToInt::value>::type> - static uint64_t type(T value) { return Arg::INT; } + static uint64_t type(T) { return Arg::INT; } #endif #if !defined(_MSC_VER) || defined(_NATIVE_WCHAR_T_DEFINED)