From bcbc9d2b20827322b4248772156f347356e62514 Mon Sep 17 00:00:00 2001 From: cursey Date: Tue, 11 Jan 2022 00:12:02 -0800 Subject: [PATCH] Remove use of std::make_unique for C++11 compliance --- src/cmake_generator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmake_generator.cpp b/src/cmake_generator.cpp index dd325c6..b9366b3 100644 --- a/src/cmake_generator.cpp +++ b/src/cmake_generator.cpp @@ -782,7 +782,7 @@ void generate_cmake(const char *path, const parser::Project *parent_project) { for (const auto &t : project.templates) { if (target.type_string == t.outline.name) { tmplate = &t; - tmplate_cs = std::make_unique(gen, tmplate->outline.condition); + tmplate_cs = std::unique_ptr(new ConditionScope(gen, tmplate->outline.condition)); } } }