Skip to content

Commit

Permalink
Add missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramrajkumar committed Jun 1, 2017
1 parent 895e833 commit b94a338
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/log/console_appender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <fc/exception/exception.hpp>
#include <iomanip>
#include <sstream>
#include <mutex>


namespace fc {
Expand All @@ -27,7 +28,7 @@ namespace fc {
#endif
};

console_appender::console_appender( const variant& args )
console_appender::console_appender( const variant& args )
:my(new impl)
{
configure( args.as<config>() );
Expand Down Expand Up @@ -66,7 +67,7 @@ namespace fc {
#ifdef WIN32
static WORD
#else
static const char*
static const char*
#endif
get_console_color(console_appender::color::type t ) {
switch( t ) {
Expand Down Expand Up @@ -140,7 +141,7 @@ namespace fc {
#endif

if( text.size() )
fprintf( out, "%s", text.c_str() ); //fmt_str.c_str() );
fprintf( out, "%s", text.c_str() ); //fmt_str.c_str() );

#ifdef WIN32
if (my->console_handle != INVALID_HANDLE_VALUE)
Expand Down

0 comments on commit b94a338

Please sign in to comment.