From 4ef47aed62364f9cf1474864e5cf94232b4477af Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 19 Dec 2016 20:12:23 +0000 Subject: Changed entity ownership model to use smart pointers --- src/ChunkDef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ChunkDef.h') diff --git a/src/ChunkDef.h b/src/ChunkDef.h index 11a03a26e..69eafd18c 100644 --- a/src/ChunkDef.h +++ b/src/ChunkDef.h @@ -28,7 +28,8 @@ class cEntity; class cClientHandle; class cBlockEntity; -typedef std::list cEntityList; +typedef std::unique_ptr OwnedEntity; +typedef std::vector cEntityList; typedef std::map cBlockEntities; -- cgit v1.2.3