mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
astyle
This commit is contained in:
@@ -488,7 +488,7 @@ template <typename Impl, typename Char, typename Spec = fmt::FormatSpec>
|
||||
class BasicPrintfArgFormatter;
|
||||
|
||||
template <typename CharType,
|
||||
typename ArgFormatter = fmt::ArgFormatter<CharType> >
|
||||
typename ArgFormatter = fmt::ArgFormatter<CharType> >
|
||||
class BasicFormatter;
|
||||
|
||||
/**
|
||||
@@ -2618,15 +2618,15 @@ inline uint64_t make_type(const T &arg)
|
||||
}
|
||||
|
||||
template <std::size_t N, bool/*IsPacked*/= (N < ArgList::MAX_PACKED_ARGS)>
|
||||
struct ArgArray;
|
||||
struct ArgArray;
|
||||
|
||||
template <std::size_t 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);
|
||||
@@ -2638,7 +2638,7 @@ struct ArgArray<N, true/*IsPacked*/>
|
||||
return MakeValue<Formatter>(value);
|
||||
#endif
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
template <std::size_t N>
|
||||
struct ArgArray<N, false/*IsPacked*/>
|
||||
@@ -3473,7 +3473,7 @@ void BasicWriter<Char>::write_double(T value, const Spec &spec)
|
||||
// MSVC's printf doesn't support 'F'.
|
||||
type = 'f';
|
||||
#endif
|
||||
// Fall through.
|
||||
// Fall through.
|
||||
case 'E':
|
||||
case 'G':
|
||||
case 'A':
|
||||
|
Reference in New Issue
Block a user