diff options
| author | Mathew Maidment <mathew1800@gmail.com> | 2016-04-15 07:37:10 -0400 |
|---|---|---|
| committer | Mathew Maidment <mathew1800@gmail.com> | 2016-04-15 07:37:10 -0400 |
| commit | 45f80b65a2148273d2a58bef79554cddf3c37c16 (patch) | |
| tree | 81bd65cc548dd9857ca41d2e5897a61c60aff378 /src/video_core/debug_utils/debug_utils.cpp | |
| parent | 68728eef388d8a82d5b7945e249ca8981f5fd9ca (diff) | |
| parent | c8c5cde43077282bd2f12dafbd1f39083fe8b441 (diff) | |
Merge pull request #1671 from lioncash/mem
debug_utils: use std::make_unique for initializing PicaTrace
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index c8752c003e..c3a9c95983 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -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; } |
