Commit 082216a3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Parser: remove use of make_unique

parent b0e63770
......@@ -53,7 +53,7 @@ Parser::~Parser()
void Parser::addService( ServicePtr service )
{
auto worker = std::make_unique<ParserWorker>();
auto worker = std::unique_ptr<ParserWorker>( new ParserWorker );
if ( worker->initialize( m_ml, this, std::move( service ) ) == false )
return;
m_services.push_back( std::move( worker ) );
......
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