Use template function prefix

This commit is contained in:
Santiago Ospina De Los Ríos authored and Magne Sjaastad committed 2025-08-25 12:45:22 +02:00
1 parent 546edadf35
commit 66756ff21e
1 file changed
+1 -1
@@ -155,7 +155,7 @@ private:
std::vector<T*> typedAncestorsVec;
for ( size_t i = 0; i < m_objects.size(); i++ )
{
auto typedAncestor = m_objects[i]->firstAncestorOfType<T>();
auto typedAncestor = m_objects[i]->template firstAncestorOfType<T>();
if ( typedAncestor )
{
typedAncestorsVec.push_back( typedAncestor );