forked from ShuriZma/suyu
1
0
Fork 0

Merge pull request #5149 from comex/xx-map-interval

map_interval: Change field order to address uninitialized field warning
This commit is contained in:
bunnei 2020-12-07 10:14:02 -08:00 committed by GitHub
commit 5cd051eced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -84,9 +84,10 @@ private:
void FillFreeList(Chunk& chunk); void FillFreeList(Chunk& chunk);
std::vector<MapInterval*> free_list; std::vector<MapInterval*> free_list;
std::unique_ptr<Chunk>* new_chunk = &first_chunk.next;
Chunk first_chunk; Chunk first_chunk;
std::unique_ptr<Chunk>* new_chunk = &first_chunk.next;
}; };
} // namespace VideoCommon } // namespace VideoCommon