mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
WorldRegions memory management update
This commit is contained in:
parent
5d4e67fdb1
commit
69a17c25ea
2 changed files with 5 additions and 8 deletions
|
|
@ -52,7 +52,7 @@ public:
|
|||
uint32_t* getSizes() const;
|
||||
};
|
||||
|
||||
typedef std::unordered_map<glm::ivec2, WorldRegion*> regionsmap;
|
||||
typedef std::unordered_map<glm::ivec2, std::unique_ptr<WorldRegion>> regionsmap;
|
||||
class WorldFiles {
|
||||
std::unordered_map<glm::ivec3, std::unique_ptr<files::rafile>> openRegFiles;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue