|
@@ -150,7 +150,7 @@ Class Translator_CPP Extends Translator
|
|
End
|
|
End
|
|
|
|
|
|
Local ctype:=TCast<ClassType>( type )
|
|
Local ctype:=TCast<ClassType>( type )
|
|
- If ctype And (ctype.cdecl.kind="class" Or ctype.cdecl.kind="interface")
|
|
|
|
|
|
+ If ctype And Not ctype.IsVoid And (ctype.cdecl.kind="class" Or ctype.cdecl.kind="interface")
|
|
Return gc+ClassName( ctype )+">"
|
|
Return gc+ClassName( ctype )+">"
|
|
Endif
|
|
Endif
|
|
|
|
|