Skip to content

Commit fe86a5c

Browse files
committed
Add template to EraseEntity() calls
1 parent 9ad102d commit fe86a5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

octree.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@ namespace OrthoTree
31243124
template<bool DO_UPDATE_ENTITY_IDS = Base::IS_CONTIGOUS_CONTAINER>
31253125
constexpr bool EraseEntity(TEntityID entityID) noexcept
31263126
{
3127-
return this->EraseEntityBase<false, DO_UPDATE_ENTITY_IDS>(entityID);
3127+
return this->template EraseEntityBase<false, DO_UPDATE_ENTITY_IDS>(entityID);
31283128
}
31293129

31303130

@@ -3159,7 +3159,7 @@ namespace OrthoTree
31593159
if (!IGM::DoesBoxContainPointAD(this->m_grid.GetBoxSpace(), newPoint))
31603160
return false;
31613161

3162-
if (!this->EraseEntity<false>(entityID))
3162+
if (!this->template EraseEntity<false>(entityID))
31633163
return false;
31643164

31653165
return this->Insert(entityID, newPoint, doesInsertToLeaf);
@@ -3807,7 +3807,7 @@ namespace OrthoTree
38073807
template<bool DO_UPDATE_ENTITY_IDS = Base::IS_CONTIGOUS_CONTAINER>
38083808
constexpr bool EraseEntity(TEntityID entityID) noexcept
38093809
{
3810-
return this->EraseEntityBase<SPLIT_DEPTH_INCREASEMENT != 0, false>(entityID);
3810+
return this->template EraseEntityBase<SPLIT_DEPTH_INCREASEMENT != 0, false>(entityID);
38113811
}
38123812

38133813
// Update id by the new bounding box information
@@ -3816,7 +3816,7 @@ namespace OrthoTree
38163816
if (!IGM::DoesRangeContainBoxAD(this->m_grid.GetBoxSpace(), boxNew))
38173817
return false;
38183818

3819-
if (!this->EraseEntity<false>(entityID))
3819+
if (!this->template EraseEntity<false>(entityID))
38203820
return false;
38213821

38223822
return this->Insert(entityID, boxNew, doInsertToLeaf);

0 commit comments

Comments
 (0)