diff --git a/ApplicationLibCode/UserInterface/RiuDragDrop.cpp b/ApplicationLibCode/UserInterface/RiuDragDrop.cpp index b6139b9c33..20afb734f0 100644 --- a/ApplicationLibCode/UserInterface/RiuDragDrop.cpp +++ b/ApplicationLibCode/UserInterface/RiuDragDrop.cpp @@ -155,7 +155,7 @@ private: std::vector typedAncestorsVec; for ( size_t i = 0; i < m_objects.size(); i++ ) { - auto typedAncestor = m_objects[i]->firstAncestorOfType(); + auto typedAncestor = m_objects[i]->template firstAncestorOfType(); if ( typedAncestor ) { typedAncestorsVec.push_back( typedAncestor );