mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
Fixing compilation issue on mac and linux
This commit is contained in:
parent
f12030c1a4
commit
171acb883f
1 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ namespace render {
|
||||||
|
|
||||||
// Clear previous values
|
// Clear previous values
|
||||||
for (size_t i = 0; i < NUM_FILTERS; i++) {
|
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
|
// For each item, filter it into the buckets
|
||||||
|
@ -204,7 +204,7 @@ namespace render {
|
||||||
auto itemKey = item.getKey();
|
auto itemKey = item.getKey();
|
||||||
for (size_t i = 0; i < NUM_FILTERS; i++) {
|
for (size_t i = 0; i < NUM_FILTERS; i++) {
|
||||||
if (_filters[i].test(itemKey)) {
|
if (_filters[i].test(itemKey)) {
|
||||||
outItems[i].edit<ItemBounds>().emplace_back(itemBound);
|
outItems[i].template edit<ItemBounds>().emplace_back(itemBound);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue