mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
astyle
This commit is contained in:
parent
fd170b0fe1
commit
c41b6d28b5
@ -77,7 +77,8 @@ inline void spdlog::logger::log(level::level_enum lvl, const char* fmt, const Ar
|
||||
{
|
||||
_err_handler(ex.what());
|
||||
}
|
||||
catch(...) {
|
||||
catch(...)
|
||||
{
|
||||
_err_handler("Unknown exception in logger " + _name);
|
||||
throw;
|
||||
}
|
||||
|
@ -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 @@ static Value make(const T &value)
|
||||
return MakeValue<Formatter>(value);
|
||||
#endif
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
template <std::size_t N>
|
||||
struct ArgArray<N, false/*IsPacked*/>
|
||||
|
Loading…
Reference in New Issue
Block a user