mirror of https://github.com/AxioDL/metaforce.git
Update main.cpp
This commit is contained in:
parent
270468fb1f
commit
518f246e5b
|
@ -152,9 +152,9 @@ int main(int argc, const char** argv)
|
|||
}
|
||||
|
||||
/* Attempt to find hecl project */
|
||||
HECL::ProjectRootPath* rootPath = HECL::SearchForProject(info.cwd);
|
||||
std::unique_ptr<HECL::ProjectRootPath> rootPath(HECL::SearchForProject(info.cwd));
|
||||
std::unique_ptr<HECL::Database::Project> project;
|
||||
if (rootPath)
|
||||
if (rootPath.get())
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue