diff options
Diffstat (limited to 'xsd/cxx/parser/parser-source.cxx')
-rw-r--r-- | xsd/cxx/parser/parser-source.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xsd/cxx/parser/parser-source.cxx b/xsd/cxx/parser/parser-source.cxx index 59ddaba..c8b50d3 100644 --- a/xsd/cxx/parser/parser-source.cxx +++ b/xsd/cxx/parser/parser-source.cxx @@ -435,7 +435,7 @@ namespace CXX inst = "p"; os << fq_type << "* p =" << endl - << "static_cast< " << fq_type << "* > (" << endl + << "dynamic_cast< " << fq_type << "* > (" << endl << "this->" << complex_base << "::context_.top ().parser_);" << endl; } |