diff options
Diffstat (limited to '')
-rw-r--r-- | src/Generating/CompoGenBiomal.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Generating/CompoGenBiomal.cpp b/src/Generating/CompoGenBiomal.cpp index 951cb1a64..967a4a89c 100644 --- a/src/Generating/CompoGenBiomal.cpp +++ b/src/Generating/CompoGenBiomal.cpp @@ -582,10 +582,7 @@ protected: -cTerrainCompositionGenPtr CreateCompoGenBiomal(int a_Seed) +std::unique_ptr<cTerrainCompositionGen> CreateCompoGenBiomal(int a_Seed) { - return std::make_shared<cCompoGenBiomal>(a_Seed); + return std::make_unique<cCompoGenBiomal>(a_Seed); } - - - |