aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/stream-extraction-source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-07-30 10:19:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-07-30 10:19:30 +0200
commitcc5cdb07e40f30e614bd15d81a5091faf717f4f4 (patch)
treeb717b3216c1730db484e7ebfb6dbe1281621ede9 /xsd/cxx/tree/stream-extraction-source.cxx
parent94cba986108a0e0f42295572ca42c356d59328d7 (diff)
Add support for abstract complex types in C++/Tree
Diffstat (limited to 'xsd/cxx/tree/stream-extraction-source.cxx')
-rw-r--r--xsd/cxx/tree/stream-extraction-source.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xsd/cxx/tree/stream-extraction-source.cxx b/xsd/cxx/tree/stream-extraction-source.cxx
index ceb56c1..7c1382e 100644
--- a/xsd/cxx/tree/stream-extraction-source.cxx
+++ b/xsd/cxx/tree/stream-extraction-source.cxx
@@ -673,6 +673,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.