mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
bug fixes
This commit is contained in:
@@ -16,7 +16,7 @@ public:
|
||||
|
||||
file_flush_helper(const file_flush_helper&) = delete;
|
||||
|
||||
void write(const log_msg msg, std::ofstream& ofs)
|
||||
void write(const log_msg& msg, std::ofstream& ofs)
|
||||
{
|
||||
auto buf = msg.formatted.buf();
|
||||
ofs.write(buf.data(), buf.size());
|
||||
|
Reference in New Issue
Block a user