small bug fix
This commit is contained in:
parent
fae9e86a5d
commit
5f4d4d0909
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user