summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-04-15 07:37:10 -0400
committerMathew Maidment <mathew1800@gmail.com>2016-04-15 07:37:10 -0400
commitd496969c9c39ca0d5d852684602f8990a916e32a (patch)
tree81bd65cc548dd9857ca41d2e5897a61c60aff378 /src
parent8d5a6110f7e253a525b3d7cd62dafeaf67a9c8f3 (diff)
parent4501a9eb5079ab89b5bb06ec0affd0ef9f72e96f (diff)
Merge pull request #1671 from lioncash/mem
debug_utils: use std::make_unique for initializing PicaTrace
Diffstat (limited to 'src')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
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 c8752c003..c3a9c9598 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;
}