mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix handling of max packed arguments
This commit is contained in:
parent
0cda806dcc
commit
534bff7d31
@ -1488,8 +1488,7 @@ class arg_store {
|
|||||||
Array data_;
|
Array data_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const uint64_t TYPES =
|
static const uint64_t TYPES = IS_PACKED ?
|
||||||
NUM_ARGS <= internal::MAX_PACKED_ARGS ?
|
|
||||||
internal::get_types<Args..., void>() : -static_cast<int64_t>(NUM_ARGS);
|
internal::get_types<Args..., void>() : -static_cast<int64_t>(NUM_ARGS);
|
||||||
|
|
||||||
arg_store(const Args &... args)
|
arg_store(const Args &... args)
|
||||||
|
Loading…
Reference in New Issue
Block a user