mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 14:02:45 +01:00
debug_utils: use std::make_unique for initializing PicaTrace
This commit is contained in:
parent
aff35d3e58
commit
4501a9eb50
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ void StartPicaTracing()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::lock_guard<std::mutex> lock(pica_trace_mutex);
|
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;
|
is_pica_tracing = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue