diff --git a/Source/buildimplementationcpp.go b/Source/buildimplementationcpp.go index 706e8773..5ecae520 100644 --- a/Source/buildimplementationcpp.go +++ b/Source/buildimplementationcpp.go @@ -972,6 +972,9 @@ func buildOutCacheTemplateParameters (method ComponentDefinitionMethod, NameSpac } cppParamType := getCppParamType(param, NameSpace, true); + if param.ParamType == "class" || param.ParamType == "optionalclass" { + cppParamType = "IBase*"; + } result += cppParamType; }