summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-07 14:28:42 +0100
committerGitHub <noreply@github.com>2020-12-07 14:28:42 +0100
commit884dcea8b196f72cb995de9f46d61a6ee6521222 (patch)
tree433c1bc15ac511da91a2206e7e1a55acd4cba8dc /TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
parent9b54b6935ed2449438e3e39690ec2bba2ba12945 (diff)
parente1d1203db3e48aa29bb3774f3ba444da26091fb1 (diff)
downloadATCD-884dcea8b196f72cb995de9f46d61a6ee6521222.tar.gz
Merge pull request #1327 from jwillemsen/jwi-taoidlnullptr2
Use nullptr instead of 0 in tao_idl
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
index 8096821e52e..c52392fb9e5 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
@@ -76,7 +76,7 @@ int
be_visitor_operation_rettype::visit_predefined_type (
be_predefined_type *node)
{
- be_type *bt = 0;
+ be_type *bt = nullptr;
if (this->ctx_->alias ())
{
@@ -195,7 +195,7 @@ be_visitor_operation_rettype::visit_typedef (
-1);
}
- this->ctx_->alias (0);
+ this->ctx_->alias (nullptr);
return 0;
}
@@ -286,9 +286,9 @@ be_visitor_operation_rettype::visit_valuebox (
const char *
be_visitor_operation_rettype::type_name (be_type *node)
{
- be_type *bt = 0;
+ be_type *bt = nullptr;
- if (this->ctx_->alias () != 0)
+ if (this->ctx_->alias () != nullptr)
{
// A typedefed return type.
bt = this->ctx_->alias ();