diff options
Diffstat (limited to 'src/FurnaceRecipe.cpp')
-rw-r--r-- | src/FurnaceRecipe.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FurnaceRecipe.cpp b/src/FurnaceRecipe.cpp index 4e642cccd..621a47a31 100644 --- a/src/FurnaceRecipe.cpp +++ b/src/FurnaceRecipe.cpp @@ -117,7 +117,7 @@ void cFurnaceRecipe::AddFuelFromLine(const AString & a_Line, unsigned int a_Line Line.erase(Line.begin()); // Remove the beginning "!" Line.erase(std::remove_if(Line.begin(), Line.end(), isspace), Line.end()); - std::unique_ptr<cItem> Item = cpp14::make_unique<cItem>(); + std::unique_ptr<cItem> Item = std::make_unique<cItem>(); int BurnTime; const AStringVector & Sides = StringSplit(Line, "="); @@ -160,8 +160,8 @@ void cFurnaceRecipe::AddRecipeFromLine(const AString & a_Line, unsigned int a_Li int CookTime = 200; float Reward = 0; - std::unique_ptr<cItem> InputItem = cpp14::make_unique<cItem>(); - std::unique_ptr<cItem> OutputItem = cpp14::make_unique<cItem>(); + std::unique_ptr<cItem> InputItem = std::make_unique<cItem>(); + std::unique_ptr<cItem> OutputItem = std::make_unique<cItem>(); const AStringVector & Sides = StringSplit(Line, "="); if (Sides.size() != 2) |