Fix handling of max packed arguments

This commit is contained in:
Victor Zverovich 2017-09-09 07:38:52 -07:00
parent 0cda806dcc
commit 534bff7d31

View File

@ -1488,8 +1488,7 @@ class arg_store {
Array data_;
public:
static const uint64_t TYPES =
NUM_ARGS <= internal::MAX_PACKED_ARGS ?
static const uint64_t TYPES = IS_PACKED ?
internal::get_types<Args..., void>() : -static_cast<int64_t>(NUM_ARGS);
arg_store(const Args &... args)