fixed compilation errors

This commit is contained in:
gabime 2017-05-21 03:48:54 +03:00
parent 095cb1f560
commit d56fa23eb9
4 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ public:
}
virtual ~ansicolor_sink()
{
flush();
_flush();
}
@ -61,7 +61,7 @@ protected:
{
fwrite(msg.formatted.data(), sizeof(char), msg.formatted.size(), target_file_);
}
flush();
_flush();
}
void _flush() override

View File

@ -32,7 +32,7 @@ protected:
_ostream.flush();
}
void flush() override
void _flush() override
{
_ostream.flush();
}

View File

@ -33,7 +33,7 @@ protected:
void _sink_it(const details::log_msg& msg) override
{
fwrite(msg.formatted.data(), sizeof(char), msg.formatted.size(), stdout);
flush();
_flush();
}
void _flush() override
@ -62,7 +62,7 @@ protected:
void _sink_it(const details::log_msg& msg) override
{
fwrite(msg.formatted.data(), sizeof(char), msg.formatted.size(), stderr);
flush();
_flush();
}
void _flush() override

View File

@ -125,5 +125,5 @@
// Uncomment to enable message counting feature. Adds %i logger pattern that
// prints log message sequence id.
//
// #define SPDLOG_ENABLE_MESSAGE_COUNTER
#define SPDLOG_ENABLE_MESSAGE_COUNTER
///////////////////////////////////////////////////////////////////////////////