mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 18:09:33 +08:00
clang-format
This commit is contained in:
@@ -92,7 +92,7 @@ public:
|
||||
void format(const details::log_msg &msg, memory_buf_t &dest) override;
|
||||
|
||||
template<typename T, typename... Args>
|
||||
pattern_formatter &add_flag(char flag, Args&&...args)
|
||||
pattern_formatter &add_flag(char flag, Args &&...args)
|
||||
{
|
||||
custom_handlers_[flag] = details::make_unique<T>(std::forward<Args>(args)...);
|
||||
return *this;
|
||||
@@ -122,5 +122,5 @@ private:
|
||||
} // namespace spdlog
|
||||
|
||||
#ifdef SPDLOG_HEADER_ONLY
|
||||
#include "pattern_formatter-inl.h"
|
||||
# include "pattern_formatter-inl.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user