Skip to content

Commit bcbc9d2

Browse files
committed
Remove use of std::make_unique for C++11 compliance
1 parent 05324f5 commit bcbc9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmake_generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ void generate_cmake(const char *path, const parser::Project *parent_project) {
782782
for (const auto &t : project.templates) {
783783
if (target.type_string == t.outline.name) {
784784
tmplate = &t;
785-
tmplate_cs = std::make_unique<ConditionScope>(gen, tmplate->outline.condition);
785+
tmplate_cs = std::unique_ptr<ConditionScope>(new ConditionScope(gen, tmplate->outline.condition));
786786
}
787787
}
788788
}

0 commit comments

Comments
 (0)