diff --git a/src/project_build.cc b/src/project_build.cc index 430d0fb..a00729c 100644 --- a/src/project_build.cc +++ b/src/project_build.cc @@ -2,9 +2,9 @@ #include "config.h" std::unique_ptr Project::get_build(const boost::filesystem::path &path) { - auto cmake=new CMake(path); + std::unique_ptr cmake(new CMake(path)); if(!cmake->project_path.empty()) - return std::unique_ptr(cmake); + return cmake; else return std::unique_ptr(new Project::Build()); }