diff --git a/fmt/format.h b/fmt/format.h index fdbbe4ed..b2d2b023 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1488,9 +1488,8 @@ class arg_store { Array data_; public: - static const uint64_t TYPES = - NUM_ARGS <= internal::MAX_PACKED_ARGS ? - internal::get_types() : -static_cast(NUM_ARGS); + static const uint64_t TYPES = IS_PACKED ? + internal::get_types() : -static_cast(NUM_ARGS); arg_store(const Args &... args) : data_(Array{{internal::make_arg(args)...}}) {}