diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-11-14 12:08:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-11-14 12:08:03 +0200 |
commit | e488cc27eb20e1b96cb0751249b19236a7e373ea (patch) | |
tree | d0362522028e855542edd0ca7c0d8baeb1231551 /xsd/cxx/tree/parser-source.cxx | |
parent | 2057dc8357b9686197ddb79d7e7b8a641b024410 (diff) |
Drop support for aCC3
Diffstat (limited to 'xsd/cxx/tree/parser-source.cxx')
-rw-r--r-- | xsd/cxx/tree/parser-source.cxx | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/xsd/cxx/tree/parser-source.cxx b/xsd/cxx/tree/parser-source.cxx index 881a2df..362e9e6 100644 --- a/xsd/cxx/tree/parser-source.cxx +++ b/xsd/cxx/tree/parser-source.cxx @@ -333,15 +333,9 @@ namespace CXX if (poly) { - // aCC cannot handle an inline call to type_factory_map_instance. - // - os << "::xsd::cxx::tree::type_factory_map< " << char_type << - " >& tfm (" << endl + os << "::std::auto_ptr< ::xsd::cxx::tree::type > tmp (" << endl << "::xsd::cxx::tree::type_factory_map_instance< " << - poly_plate << ", " << char_type << " > ());" - << endl - << "::std::auto_ptr< ::xsd::cxx::tree::type > tmp (" << endl - << "tfm.create (" << endl + poly_plate << ", " << char_type << " > ().create (" << endl << strlit (e.name ()) << "," << endl << strlit (e.namespace_().name ()) << "," << endl << "&::xsd::cxx::tree::factory_impl< " << type << " >," << endl @@ -431,15 +425,9 @@ namespace CXX if (poly) { - // aCC cannot handle an inline call to type_factory_map_instance. - // - os << "::xsd::cxx::tree::type_factory_map< " << char_type << - " >& tfm (" << endl + os << "::std::auto_ptr< ::xsd::cxx::tree::type > tmp (" << endl << "::xsd::cxx::tree::type_factory_map_instance< " << - poly_plate << ", " << char_type << " > ());" - << endl - << "::std::auto_ptr< ::xsd::cxx::tree::type > tmp (" << endl - << "tfm.create (" << endl + poly_plate << ", " << char_type << " > ().create (" << endl << strlit (e.name ()) << "," << endl << strlit (e.namespace_().name ()) << "," << endl << "&::xsd::cxx::tree::factory_impl< " << type << " >," << endl |