1
0

Remove smart pointer macros

This commit is contained in:
peterbell10
2017-07-20 12:19:18 +01:00
committed by Tiger Wang
parent 895987a111
commit a56cfd1f42
44 changed files with 83 additions and 88 deletions

View File

@@ -381,7 +381,7 @@ cGridStructGen::cStructurePtr cVillageGen::CreateStructure(int a_GridX, int a_Gr
{
auto biome = Biomes[i];
availablePools.erase(std::remove_if(availablePools.begin(), availablePools.end(),
[biome](SharedPtr<cPrefabPiecePool> a_Pool)
[biome](std::shared_ptr<cVillagePiecePool> & a_Pool)
{
return !a_Pool->IsBiomeAllowed(biome);
}),