summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_exception.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_exception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/ast/ast_exception.cpp b/TAO/TAO_IDL/ast/ast_exception.cpp
index 387921a3218..78ede718bd2 100644
--- a/TAO/TAO_IDL/ast/ast_exception.cpp
+++ b/TAO/TAO_IDL/ast/ast_exception.cpp
@@ -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::")