mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Update main.cpp
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user