Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit 3bfdf43

Browse files
committed
Merge branch 'cmaster' into python-refactor
2 parents 8233097 + d2bb946 commit 3bfdf43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/project_build.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#include "config.h"
33

44
std::unique_ptr<Project::Build> Project::get_build(const boost::filesystem::path &path) {
5-
auto cmake=new CMake(path);
5+
std::unique_ptr<Project::Build> cmake(new CMake(path));
66
if(!cmake->project_path.empty())
7-
return std::unique_ptr<Project::Build>(cmake);
7+
return cmake;
88
else
99
return std::unique_ptr<Project::Build>(new Project::Build());
1010
}

0 commit comments

Comments
 (0)