diff options
| author | 2016-04-15 07:37:10 -0400 | |
|---|---|---|
| committer | 2016-04-15 07:37:10 -0400 | |
| commit | d496969c9c39ca0d5d852684602f8990a916e32a (patch) | |
| tree | 81bd65cc548dd9857ca41d2e5897a61c60aff378 /src | |
| parent | Y2R: num_tiles should be allowed when its value is 128 (#1669) (diff) | |
| parent | debug_utils: use std::make_unique for initializing PicaTrace (diff) | |
| download | yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.gz yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.tar.xz yuzu-d496969c9c39ca0d5d852684602f8990a916e32a.zip | |
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.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 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() | |||
| 286 | } | 286 | } |
| 287 | 287 | ||
| 288 | std::lock_guard<std::mutex> lock(pica_trace_mutex); | 288 | std::lock_guard<std::mutex> lock(pica_trace_mutex); |
| 289 | pica_trace = std::unique_ptr<PicaTrace>(new PicaTrace); | 289 | pica_trace = std::make_unique<PicaTrace>(); |
| 290 | 290 | ||
| 291 | is_pica_tracing = true; | 291 | is_pica_tracing = true; |
| 292 | } | 292 | } |