Replace build_unique with make_unique

This was a rarely used convenience function from when we did not yet
have c++17 support.
This commit is contained in:
Johanna Amann 2019-10-29 11:50:20 +01:00
parent ff612876c5
commit e2a8dd4db1
3 changed files with 3 additions and 12 deletions

View file

@ -510,7 +510,7 @@ void end_func(Stmt* body)
std::unique_ptr<function_ingredients> gather_function_ingredients(Scope* scope, Stmt* body)
{
auto ingredients = build_unique<function_ingredients>();
auto ingredients = make_unique<function_ingredients>();
ingredients->frame_size = scope->Length();
ingredients->inits = scope->GetInits();