2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 18:24:55 +00:00

Fix linux build

This commit is contained in:
2017-07-15 07:13:36 -07:00
parent e23a61876e
commit 70951275db
3 changed files with 6 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ void CDependencyGroup::ReadFromStream(CInputStream& in)
CFactoryFnReturn FDependencyGroupFactory(const SObjectTag& /*tag*/, CInputStream& in, const CVParamTransfer& /*param*/,
CObjectReference* selfRef)
{
return TToken<CDependencyGroup>::GetIObjObjectFor(std::unique_ptr<CDependencyGroup>(new CDependencyGroup(in)));
return TToken<CDependencyGroup>::GetIObjObjectFor(std::make_unique<CDependencyGroup>(in));
}
}