Commit 5f4d4d09 authored by gabi's avatar gabi

small bug fix

parent fae9e86a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment