small bug fix

This commit is contained in:
gabi 2014-10-15 02:24:35 +03:00
parent fae9e86a5d
commit 5f4d4d0909
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ struct log_msg
swap(*this, other);
}
friend void swap(log_msg& l, log_msg& r)
void swap(log_msg& l, log_msg& r)
{
using std::swap;
swap(l.logger_name, r.logger_name);

View File

@ -101,7 +101,7 @@ inline c11log::logger::logger(const std::string& logger_name, std::initializer_l
if (!formatter) //default formatter
_formatter = std::make_shared<details::pattern_formatter>(_default_pattern);
//Seems that vs2013 doesn't support atomic member initialization yet
// no support under vs2013 for member initialization for std::atomic
_level = level::INFO;
}