diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-07-20 13:19:18 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2017-07-21 15:41:51 +0200 |
commit | a56cfd1f42663856e346a26cbad401aec07bed91 (patch) | |
tree | 2bbdef2d6d09e8625ceaddba443b3a97b2febb5e /src/SetChunkData.h | |
parent | FastRandom: Remove discrepancy between arg and return value type. (#3846) (diff) | |
download | cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.gz cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.bz2 cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.lz cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.xz cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.tar.zst cuberite-a56cfd1f42663856e346a26cbad401aec07bed91.zip |
Diffstat (limited to 'src/SetChunkData.h')
-rw-r--r-- | src/SetChunkData.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SetChunkData.h b/src/SetChunkData.h index 63aec445b..b0c59e40b 100644 --- a/src/SetChunkData.h +++ b/src/SetChunkData.h @@ -116,7 +116,7 @@ protected: bool m_ShouldMarkDirty; }; -typedef SharedPtr<cSetChunkData> cSetChunkDataPtr; // TODO: Change to unique_ptr once we go C++11 +typedef std::unique_ptr<cSetChunkData> cSetChunkDataPtr; typedef std::vector<cSetChunkDataPtr> cSetChunkDataPtrs; |