aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/stream-source.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/cxx/tree/stream-source.cxx')
-rw-r--r--xsd/cxx/tree/stream-source.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xsd/cxx/tree/stream-source.cxx b/xsd/cxx/tree/stream-source.cxx
index 935ad40..656f0ed 100644
--- a/xsd/cxx/tree/stream-source.cxx
+++ b/xsd/cxx/tree/stream-source.cxx
@@ -385,6 +385,7 @@ namespace CXX
//
if (polymorphic &&
polymorphic_p (c) &&
+ !c.abstract_p () &&
(!anonymous_p (c) || anonymous_substitutes_p (c)))
{
// Note that we are using the original type name.