mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-05 18:33:28 +00:00
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 */
|
/* 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;
|
std::unique_ptr<HECL::Database::Project> project;
|
||||||
if (rootPath)
|
if (rootPath.get())
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user