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/Generating/PiecePool.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/Generating/PiecePool.h')
-rw-r--r-- | src/Generating/PiecePool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/PiecePool.h b/src/Generating/PiecePool.h index 84f511950..0c1a701f9 100644 --- a/src/Generating/PiecePool.h +++ b/src/Generating/PiecePool.h @@ -118,7 +118,7 @@ public: virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) {} }; - typedef SharedPtr<cVerticalStrategy> cVerticalStrategyPtr; + typedef std::shared_ptr<cVerticalStrategy> cVerticalStrategyPtr; /** Base class (interface) for the vertical limit of piece placement. @@ -145,7 +145,7 @@ public: virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) {} }; - typedef SharedPtr<cVerticalLimit> cVerticalLimitPtr; + typedef std::shared_ptr<cVerticalLimit> cVerticalLimitPtr; /** The strategy used for vertical placement of this piece when it is used as a starting piece. */ |