summaryrefslogtreecommitdiffstats
path: root/src/BrewingRecipes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BrewingRecipes.cpp')
-rw-r--r--src/BrewingRecipes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BrewingRecipes.cpp b/src/BrewingRecipes.cpp
index 829660ffe..7bce72883 100644
--- a/src/BrewingRecipes.cpp
+++ b/src/BrewingRecipes.cpp
@@ -64,7 +64,7 @@ void cBrewingRecipes::AddRecipeFromLine(AString a_Line, unsigned int a_LineNum)
{
a_Line.erase(std::remove_if(a_Line.begin(), a_Line.end(), isspace), a_Line.end());
- auto Recipe = cpp14::make_unique<cRecipe>();
+ auto Recipe = std::make_unique<cRecipe>();
const AStringVector & InputAndIngredient = StringSplit(a_Line, "+");
@@ -145,7 +145,7 @@ const cBrewingRecipes::cRecipe * cBrewingRecipes::GetRecipeFrom(const cItem & a_
if (a_Input.m_ItemDamage & 0x2000)
{
// Create new recipe and add it to list
- auto Recipe = cpp14::make_unique<cRecipe>();
+ auto Recipe = std::make_unique<cRecipe>();
Recipe->Input.m_ItemType = a_Input.m_ItemDamage;
Recipe->Output.m_ItemDamage = a_Input.m_ItemDamage + 8192;
@@ -178,7 +178,7 @@ const cBrewingRecipes::cRecipe * cBrewingRecipes::GetRecipeFrom(const cItem & a_
}
// Create new recipe and add it to list
- auto Recipe = cpp14::make_unique<cRecipe>();
+ auto Recipe = std::make_unique<cRecipe>();
Recipe->Input.m_ItemDamage = a_Input.m_ItemDamage;
Recipe->Output.m_ItemDamage = (*FoundRecipe)->Output.m_ItemDamage + 8192;