1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Use unique_ptrs for MapSector::m_blocks

This commit is contained in:
Desour 2023-03-03 15:20:29 +01:00 committed by DS
parent 08ea467bfe
commit 1780d1bbde
4 changed files with 49 additions and 49 deletions

View file

@ -465,7 +465,7 @@ private:
std::set<v3s16> m_chunks_in_progress;
// used by deleteBlock() and deleteDetachedBlocks()
MapBlockVect m_detached_blocks;
std::vector<std::unique_ptr<MapBlock>> m_detached_blocks;
// Queued transforming water nodes
UniqueQueue<v3s16> m_transforming_liquid;