diff options
Diffstat (limited to 'xsd/cxx/tree/serialization-source.cxx')
-rw-r--r-- | xsd/cxx/tree/serialization-source.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xsd/cxx/tree/serialization-source.cxx b/xsd/cxx/tree/serialization-source.cxx index 559a3cf..8a94c74 100644 --- a/xsd/cxx/tree/serialization-source.cxx +++ b/xsd/cxx/tree/serialization-source.cxx @@ -956,7 +956,10 @@ namespace CXX // but substitutes, then it will be registered as part of the // substitution registration. // - if (polymorphic && polymorphic_p (c) && !anonymous_p (c)) + if (polymorphic && + polymorphic_p (c) && + !c.abstract_p () && + !anonymous_p (c)) { // Note that we are using the original type name. // |