Fix compile on Linux

This commit is contained in:
Magne Sjaastad
2024-04-01 22:38:06 +02:00
parent c11cf99c69
commit 0b09863078

View File

@@ -45,7 +45,7 @@ namespace caf
// This is a template function, and auto is used to allow the compiler to deduce the type of the arguments
void setValueWithFieldChanged( auto fieldHandle, auto fieldValue )
{
PdmUiFieldHandleInterface* uiFieldHandleInterface = fieldHandle->capability<PdmUiFieldHandleInterface>();
PdmUiFieldHandleInterface* uiFieldHandleInterface = fieldHandle->template capability<PdmUiFieldHandleInterface>();
if ( uiFieldHandleInterface )
{