Commit a1f151a5 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

COMP BUG: use single element instead of initializer

list with one element as argument. Somehow the function overload is not recognized by VS2013. #113
parent dcba82dc
......@@ -127,7 +127,7 @@ LoggerImpl
::AddStream( const std::string& identifier, std::ostream& stream, const bool& forceFlush )
{
auto sink = std::make_shared< spdlog::sinks::ostream_sink< std::mutex > >(stream, forceFlush);
auto logger = spdlog::details::registry::instance().create(identifier, { sink } );
auto logger = spdlog::details::registry::instance().create(identifier, sink );
this->m_Loggers.insert( std::make_pair( identifier, logger ) );
}
......
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