mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Use template function prefix
This commit is contained in:
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 );
|
||||
|
||||
Reference in new issue
Block a user