This commit is contained in:
gabime 2016-12-10 02:05:05 +02:00
parent fec467da7b
commit 2d873785a5
3 changed files with 22 additions and 22 deletions

View File

@ -2647,15 +2647,15 @@ inline uint64_t make_type(const T &arg)
}
template <unsigned N, bool/*IsPacked*/ = (N < ArgList::MAX_PACKED_ARGS)>
struct ArgArray;
struct ArgArray;
template <unsigned N>
struct ArgArray<N, true/*IsPacked*/>
{
typedef Value Type[N > 0 ? N : 1];
template <typename Formatter, typename T>
static Value make(const T &value)
template <typename Formatter, typename T>
static Value make(const T &value)
{
#ifdef __clang__
Value result = MakeValue<Formatter>(value);
@ -2667,7 +2667,7 @@ struct ArgArray<N, true/*IsPacked*/>
return MakeValue<Formatter>(value);
#endif
}
};
};
template <unsigned N>
struct ArgArray<N, false/*IsPacked*/>