summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp
index e234183eda7..7a4e5274a17 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp
@@ -23,7 +23,7 @@ be_visitor_operation_exceptlist_cs::be_visitor_operation_exceptlist_cs (
{
}
-be_visitor_operation_exceptlist_cs::~be_visitor_operation_exceptlist_cs (void)
+be_visitor_operation_exceptlist_cs::~be_visitor_operation_exceptlist_cs ()
{
}
@@ -41,7 +41,7 @@ be_visitor_operation_exceptlist_cs::visit_operation (be_operation *node)
<< "_exceptiondata [] = " << be_idt_nl;
*os << "{" << be_idt_nl;
- be_exception *ex = 0;
+ be_exception *ex = nullptr;
// Initialize an iterator to iterate thru the exception list.
// Continue until each element is visited.
@@ -50,7 +50,7 @@ be_visitor_operation_exceptlist_cs::visit_operation (be_operation *node)
!ei.is_done ();)
{
AST_Decl *d = ei.item ();
- ex = be_exception::narrow_from_decl (d);
+ ex = dynamic_cast<be_exception*> (d);
*os << "{" << be_idt_nl
<< "\"" << ex->repoID () << "\"," << be_nl