Fix compilation error C2664 on VS2013

No converting constructor
This commit is contained in:
Chen Hayat 2016-10-30 17:07:51 +02:00
parent 87ddb9a6c1
commit 83d192b1f1

View File

@ -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;