- remove all usage of std::make_unique to keep things C++11 compliant

This commit is contained in:
Magnus Norddahl 2017-04-11 01:25:44 +02:00
commit f049e6145b
7 changed files with 33 additions and 33 deletions

View file

@ -249,7 +249,7 @@ void RenderPolyPlane::Render(const TriMatrix &worldToClip, const PolyClipPlane &
}
if (!polyportal)
{
sectorPortals.push_back(std::make_unique<PolyDrawSectorPortal>(portal, ceiling));
sectorPortals.push_back(std::unique_ptr<PolyDrawSectorPortal>(new PolyDrawSectorPortal(portal, ceiling)));
polyportal = sectorPortals.back().get();
}