summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-12-07 10:14:02 -0800
committerGravatar GitHub2020-12-07 10:14:02 -0800
commit5cd051ecede06b728198424166080c5e5abb18cb (patch)
tree67f2b025bcc38b43be0ccd8bf3a3fed2a512afbb /src
parentMerge pull request #5159 from lioncash/move-amend (diff)
parentmap_interval: Change field order to address uninitialized field warning (diff)
downloadyuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.gz
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.xz
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.zip
Merge pull request #5149 from comex/xx-map-interval
map_interval: Change field order to address uninitialized field warning
Diffstat (limited to 'src')
-rw-r--r--src/video_core/buffer_cache/map_interval.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/map_interval.h b/src/video_core/buffer_cache/map_interval.h
index fe0bcd1d8..ef974b08a 100644
--- a/src/video_core/buffer_cache/map_interval.h
+++ b/src/video_core/buffer_cache/map_interval.h
@@ -84,9 +84,10 @@ private:
84 void FillFreeList(Chunk& chunk); 84 void FillFreeList(Chunk& chunk);
85 85
86 std::vector<MapInterval*> free_list; 86 std::vector<MapInterval*> free_list;
87 std::unique_ptr<Chunk>* new_chunk = &first_chunk.next;
88 87
89 Chunk first_chunk; 88 Chunk first_chunk;
89
90 std::unique_ptr<Chunk>* new_chunk = &first_chunk.next;
90}; 91};
91 92
92} // namespace VideoCommon 93} // namespace VideoCommon