1
0
Fork 0
forked from suyu/suyu

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

View file

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