Remove use of std::make_unique for C++11 compliance

main
cursey 3 years ago
parent 05324f593b
commit bcbc9d2b20
No known key found for this signature in database
GPG Key ID: A6A7163A1B8FD42C

@ -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<ConditionScope>(gen, tmplate->outline.condition);
tmplate_cs = std::unique_ptr<ConditionScope>(new ConditionScope(gen, tmplate->outline.condition));
}
}
}

Loading…
Cancel
Save