One more fix for old gcc

This commit is contained in:
Thomas Geymayer
2012-11-15 23:31:18 +01:00
parent a0535ef64d
commit 33db3c377f

View File

@@ -519,7 +519,7 @@ namespace nasal
< typename BaseGhost::raw_type,
typename Ghost::raw_type
>::value
&& dynamic_cast<const Ghost::raw_type*>(base) != base )
&& dynamic_cast<const typename Ghost::raw_type*>(base) != base )
return 0;
// Now check if we can further downcast to one of our derived classes.