summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp
index 0a7f41b866c..f238e8996d9 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_svs.cpp
@@ -15,11 +15,11 @@
be_visitor_operation_svs::be_visitor_operation_svs (
be_visitor_context *ctx)
: be_visitor_scope (ctx),
- scope_ (0)
+ scope_ (nullptr)
{
}
-be_visitor_operation_svs::~be_visitor_operation_svs (void)
+be_visitor_operation_svs::~be_visitor_operation_svs ()
{
}
@@ -37,9 +37,9 @@ be_visitor_operation_svs::visit_operation (be_operation *node)
<< be_nl;
}
// Retrieve the operation return type.
- be_type *bt = be_type::narrow_from_decl (node->return_type ());
+ be_type *bt = dynamic_cast<be_type*> (node->return_type ());
- if (bt == 0)
+ if (bt == nullptr)
{
ACE_ERROR_RETURN ((LM_ERROR,
"be_visitor_operation_svs::"