summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-04-15 13:37:10 +0200
committerMathew Maidment <mathew1800@gmail.com>2016-04-15 13:37:10 +0200
commitd496969c9c39ca0d5d852684602f8990a916e32a (patch)
tree81bd65cc548dd9857ca41d2e5897a61c60aff378
parentY2R: num_tiles should be allowed when its value is 128 (#1669) (diff)
parentdebug_utils: use std::make_unique for initializing PicaTrace (diff)
downloadyuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar
yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.gz
yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.bz2
yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.lz
yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.xz
yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.zst
yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.zip
-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;
}