Merge pull request #1671 from lioncash/mem

debug_utils: use std::make_unique for initializing PicaTrace
master
Mathew Maidment 2016-04-15 07:37:10 +07:00
commit d496969c9c
1 changed files with 1 additions and 1 deletions

@ -286,7 +286,7 @@ void StartPicaTracing()
}
std::lock_guard<std::mutex> lock(pica_trace_mutex);
pica_trace = std::unique_ptr<PicaTrace>(new PicaTrace);
pica_trace = std::make_unique<PicaTrace>();
is_pica_tracing = true;
}