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:
parent
08ea467bfe
commit
1780d1bbde
4 changed files with 49 additions and 49 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue