diff options
| author | 2019-11-20 16:00:40 -0300 | |
|---|---|---|
| committer | 2019-11-20 16:00:40 -0300 | |
| commit | 73aaf365e75ea3b451aba535801e49ca2f6d03bc (patch) | |
| tree | 3885dd59d5d91d0c3f12c2e1ff9df3ed2154ba34 /src | |
| parent | Merge pull request #3142 from ReinUsesLisp/depbar-log (diff) | |
| download | yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.gz yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.xz yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.zip | |
buffer_cache: Remove brace initialized for objects with default constructor
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index 4408b5001..0510ed777 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h | |||
| @@ -427,8 +427,8 @@ private: | |||
| 427 | 427 | ||
| 428 | VideoCore::RasterizerInterface& rasterizer; | 428 | VideoCore::RasterizerInterface& rasterizer; |
| 429 | Core::System& system; | 429 | Core::System& system; |
| 430 | std::unique_ptr<StreamBuffer> stream_buffer; | ||
| 431 | 430 | ||
| 431 | std::unique_ptr<StreamBuffer> stream_buffer; | ||
| 432 | TBufferType stream_buffer_handle{}; | 432 | TBufferType stream_buffer_handle{}; |
| 433 | 433 | ||
| 434 | bool invalidated = false; | 434 | bool invalidated = false; |
| @@ -440,18 +440,18 @@ private: | |||
| 440 | using IntervalSet = boost::icl::interval_set<CacheAddr>; | 440 | using IntervalSet = boost::icl::interval_set<CacheAddr>; |
| 441 | using IntervalCache = boost::icl::interval_map<CacheAddr, MapInterval>; | 441 | using IntervalCache = boost::icl::interval_map<CacheAddr, MapInterval>; |
| 442 | using IntervalType = typename IntervalCache::interval_type; | 442 | using IntervalType = typename IntervalCache::interval_type; |
| 443 | IntervalCache mapped_addresses{}; | 443 | IntervalCache mapped_addresses; |
| 444 | 444 | ||
| 445 | static constexpr u64 write_page_bit{11}; | 445 | static constexpr u64 write_page_bit = 11; |
| 446 | std::unordered_map<u64, u32> written_pages{}; | 446 | std::unordered_map<u64, u32> written_pages; |
| 447 | 447 | ||
| 448 | static constexpr u64 block_page_bits{21}; | 448 | static constexpr u64 block_page_bits = 21; |
| 449 | static constexpr u64 block_page_size{1 << block_page_bits}; | 449 | static constexpr u64 block_page_size = 1ULL << block_page_bits; |
| 450 | std::unordered_map<u64, TBuffer> blocks{}; | 450 | std::unordered_map<u64, TBuffer> blocks; |
| 451 | 451 | ||
| 452 | std::list<TBuffer> pending_destruction{}; | 452 | std::list<TBuffer> pending_destruction; |
| 453 | u64 epoch{}; | 453 | u64 epoch = 0; |
| 454 | u64 modified_ticks{}; | 454 | u64 modified_ticks = 0; |
| 455 | 455 | ||
| 456 | std::recursive_mutex mutex; | 456 | std::recursive_mutex mutex; |
| 457 | }; | 457 | }; |