Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubpa committed Aug 14, 2020
1 parent b4070c3 commit b7179b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/UECS/EntityMngr.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ namespace Ubpa::UECS {
void Accept(IListener* listener) const;

private:
Pool<Chunk> sharedChunkPool; // destruct finally

friend class World;
friend class Archetype;

Expand Down Expand Up @@ -112,8 +114,6 @@ namespace Ubpa::UECS {
void RecycleEntityEntry(Entity e);

std::unordered_map<CmptTypeSet, std::unique_ptr<Archetype>> ts2a; // archetype's CmptTypeSet to archetype

Pool<Chunk> sharedChunkPool;
};
}

Expand Down

0 comments on commit b7179b0

Please sign in to comment.