mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
astyle
This commit is contained in:
parent
fec467da7b
commit
2d873785a5
@ -2647,15 +2647,15 @@ inline uint64_t make_type(const T &arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <unsigned N, bool/*IsPacked*/ = (N < ArgList::MAX_PACKED_ARGS)>
|
template <unsigned N, bool/*IsPacked*/ = (N < ArgList::MAX_PACKED_ARGS)>
|
||||||
struct ArgArray;
|
struct ArgArray;
|
||||||
|
|
||||||
template <unsigned N>
|
template <unsigned N>
|
||||||
struct ArgArray<N, true/*IsPacked*/>
|
struct ArgArray<N, true/*IsPacked*/>
|
||||||
{
|
{
|
||||||
typedef Value Type[N > 0 ? N : 1];
|
typedef Value Type[N > 0 ? N : 1];
|
||||||
|
|
||||||
template <typename Formatter, typename T>
|
template <typename Formatter, typename T>
|
||||||
static Value make(const T &value)
|
static Value make(const T &value)
|
||||||
{
|
{
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
Value result = MakeValue<Formatter>(value);
|
Value result = MakeValue<Formatter>(value);
|
||||||
@ -2667,7 +2667,7 @@ struct ArgArray<N, true/*IsPacked*/>
|
|||||||
return MakeValue<Formatter>(value);
|
return MakeValue<Formatter>(value);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <unsigned N>
|
template <unsigned N>
|
||||||
struct ArgArray<N, false/*IsPacked*/>
|
struct ArgArray<N, false/*IsPacked*/>
|
||||||
|
Loading…
Reference in New Issue
Block a user