faster reset of cached buffer

This commit is contained in:
gabime 2018-07-09 15:10:43 +03:00
parent b4dcd592d8
commit c887907d4a
1 changed files with 0 additions and 10 deletions

View File

@ -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)
{
}
};
///////////////////////////////////////////////////////////////////////