From 5ca3a7c2e76bc91356aaa1c6bc3d12bb2a3c6e9c Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 8 Mar 2021 16:39:43 +0000 Subject: shared_ptr -> unique_ptr in generators --- src/Generating/TwoHeights.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/Generating/TwoHeights.h') diff --git a/src/Generating/TwoHeights.h b/src/Generating/TwoHeights.h index 7dcf47c77..fbdcfdcfd 100644 --- a/src/Generating/TwoHeights.h +++ b/src/Generating/TwoHeights.h @@ -16,8 +16,4 @@ /** Creates and returns a new instance of the cTwoHeights terrain shape generator. The instance must be Initialize()-d before it is used. */ -extern cTerrainShapeGenPtr CreateShapeGenTwoHeights(int a_Seed, const cBiomeGenPtr & a_BiomeGen); - - - - +extern std::unique_ptr CreateShapeGenTwoHeights(int a_Seed, cBiomeGen & a_BiomeGen); -- cgit v1.2.3