Skip to content

Commit

Permalink
travis build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Mar 4, 2020
1 parent 3d5743b commit 55af75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main/resources/ContentManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ void ContentManager::ReScanProjects()
}
else // Entry doesn't exist yet -> add it.
{
std::unique_ptr<ProjectEntry> tmp_proj = std::make_unique<ProjectEntry>();
std::unique_ptr<ProjectEntry> tmp_proj = std::unique_ptr<ProjectEntry>(new ProjectEntry());
tmp_proj->prj_dirname = proj_dir.filename;
tmp_proj->prj_rg_name = proj_dir.filename;

Expand Down Expand Up @@ -592,7 +592,7 @@ ProjectEntry* ContentManager::CreateNewProject(std::string const& dir_name, cons
Ogre::ResourceGroupManager::getSingleton().initialiseResourceGroup(rg_name);

// Create project entry
std::unique_ptr<ProjectEntry> proj = std::make_unique<ProjectEntry>();
std::unique_ptr<ProjectEntry> proj = std::unique_ptr<ProjectEntry>(new ProjectEntry());
proj->prj_name = prj_name;
proj->prj_dirname = dir_name_buf;
proj->prj_format_version = 1;
Expand Down

0 comments on commit 55af75a

Please # to comment.