diff options
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_exception.cpp')
-rw-r--r-- | TAO/TAO_IDL/ast/ast_exception.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/TAO/TAO_IDL/ast/ast_exception.cpp b/TAO/TAO_IDL/ast/ast_exception.cpp index 301539d96d8..c7b023cbfb2 100644 --- a/TAO/TAO_IDL/ast/ast_exception.cpp +++ b/TAO/TAO_IDL/ast/ast_exception.cpp @@ -100,7 +100,7 @@ AST_Exception::AST_Exception (UTL_ScopedName *n, { } -AST_Exception::~AST_Exception (void) +AST_Exception::~AST_Exception () { } @@ -139,7 +139,7 @@ AST_Exception::in_recursion (ACE_Unbounded_Queue<AST_Type *> &list) { AST_Field *field = dynamic_cast<AST_Field*> (i.item ()); - if (field == 0) + if (field == nullptr) // This will be an enum value or other legitimate non-field // member - in any case, no recursion. { @@ -154,7 +154,7 @@ AST_Exception::in_recursion (ACE_Unbounded_Queue<AST_Type *> &list) type = td->primitive_base_type (); } - if (type == 0) + if (type == nullptr) { ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("(%N:%l) AST_Exception::") @@ -176,7 +176,7 @@ AST_Exception::in_recursion (ACE_Unbounded_Queue<AST_Type *> &list) // Not in recursion. if (self_test) this->in_recursion_ = 0; - return 0; //this->in_recursion_; + return false; //this->in_recursion_; } // Dump this AST_Exception node to the ostream o. @@ -198,10 +198,7 @@ AST_Exception::ast_accept (ast_visitor *visitor) } void -AST_Exception::destroy (void) +AST_Exception::destroy () { this->AST_Structure::destroy (); } - -IMPL_NARROW_FROM_DECL(AST_Exception) -IMPL_NARROW_FROM_SCOPE(AST_Exception) |