summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/stream-insertion-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-insertion-source.cxx
parent94cba986108a0e0f42295572ca42c356d59328d7 (diff)
Add support for abstract complex types in C++/Tree
Diffstat (limited to 'xsd/cxx/tree/stream-insertion-source.cxx')
-rw-r--r--xsd/cxx/tree/stream-insertion-source.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xsd/cxx/tree/stream-insertion-source.cxx b/xsd/cxx/tree/stream-insertion-source.cxx
index 2c82cfd..f2e47a8 100644
--- a/xsd/cxx/tree/stream-insertion-source.cxx
+++ b/xsd/cxx/tree/stream-insertion-source.cxx
@@ -448,6 +448,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.