Commit 83d192b1 authored by Chen Hayat's avatar Chen Hayat

Fix compilation error C2664 on VS2013

No converting constructor
parent 87ddb9a6
......@@ -15,7 +15,7 @@ namespace sinks
class sink
{
public:
sink(): _level( level::trace ) {}
sink() { _level = (int)level::trace; }
virtual ~sink() {}
virtual void log(const details::log_msg& msg) = 0;
......
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