mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
faster reset of cached buffer
This commit is contained in:
parent
b4dcd592d8
commit
c887907d4a
@ -29,16 +29,6 @@ class flag_formatter
|
||||
public:
|
||||
virtual ~flag_formatter() = default;
|
||||
virtual void format(const details::log_msg &msg, const std::tm &tm_time, fmt::memory_buffer &dest) = 0;
|
||||
|
||||
protected:
|
||||
fmt::memory_buffer cached_buf_;
|
||||
std::tm cached_tm_;
|
||||
bool from_cache(const std::tm &tm_time, fmt::memory_buffer &dest)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user