more fixes for Gems

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 14:51:12 -07:00
parent 9245a31196
commit ea2f74dc0f
66 changed files with 62 additions and 348 deletions
@@ -222,7 +222,7 @@ namespace Vegetation
for (const auto& id : processedIds)
{
bool accepted = true;
FilterRequestBus::EnumerateHandlersId(id, [this, &instanceData, &accepted](FilterRequestBus::Events* handler) {
FilterRequestBus::EnumerateHandlersId(id, [&instanceData, &accepted](FilterRequestBus::Events* handler) {
accepted = handler->Evaluate(instanceData);
return accepted;
});