Fixing compilation issue on mac and linux

This commit is contained in:
samcake 2016-02-12 09:59:33 -08:00
parent f12030c1a4
commit 171acb883f

View file

@ -195,7 +195,7 @@ namespace render {
// Clear previous values
for (size_t i = 0; i < NUM_FILTERS; i++) {
outItems[i].edit<ItemBounds>().clear();
outItems[i].template edit<ItemBounds>().clear();
}
// For each item, filter it into the buckets
@ -204,7 +204,7 @@ namespace render {
auto itemKey = item.getKey();
for (size_t i = 0; i < NUM_FILTERS; i++) {
if (_filters[i].test(itemKey)) {
outItems[i].edit<ItemBounds>().emplace_back(itemBound);
outItems[i].template edit<ItemBounds>().emplace_back(itemBound);
}
}
}