mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 10:32:55 +00:00
Merge pull request #1671 from lioncash/mem
debug_utils: use std::make_unique for initializing PicaTrace
This commit is contained in:
commit
d496969c9c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue