diff options
Diffstat (limited to 'xsd/cxx/parser/element-validation-source.cxx')
-rw-r--r-- | xsd/cxx/parser/element-validation-source.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xsd/cxx/parser/element-validation-source.cxx b/xsd/cxx/parser/element-validation-source.cxx index a96dc6c..5053c25 100644 --- a/xsd/cxx/parser/element-validation-source.cxx +++ b/xsd/cxx/parser/element-validation-source.cxx @@ -293,7 +293,7 @@ namespace CXX if (poly) os << fq_type << "* p =" << endl - << "static_cast< " << fq_type << "* > (" << endl + << "dynamic_cast< " << fq_type << "* > (" << endl << "this->" << complex_base << "::context_.top ().parser_);" << endl; |