summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_home.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_home.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_home.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_home.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/TAO/TAO_IDL/be/be_home.cpp b/TAO/TAO_IDL/be/be_home.cpp
index 9f56f01b0c0..2e802998aa6 100644
--- a/TAO/TAO_IDL/be/be_home.cpp
+++ b/TAO/TAO_IDL/be/be_home.cpp
@@ -66,7 +66,7 @@ be_home::be_home (UTL_ScopedName *n,
// Some previous error may have caused a lookup failure, in which
// case we'll crash if we do the narrow below.
- if (managed_component == 0)
+ if (managed_component == nullptr)
{
idl_global->set_err_count (idl_global->err_count () + 1);
return;
@@ -87,7 +87,7 @@ be_home::~be_home (void)
void
be_home::scan (UTL_Scope *s)
{
- if (s == 0)
+ if (s == nullptr)
{
return;
}
@@ -100,7 +100,7 @@ be_home::scan (UTL_Scope *s)
AST_Attribute *attr =
dynamic_cast<AST_Attribute*> (d);
- if (attr != 0 && ! attr->readonly ())
+ if (attr != nullptr && ! attr->readonly ())
{
this->has_rw_attributes_ = true;
return;
@@ -109,7 +109,7 @@ be_home::scan (UTL_Scope *s)
AST_Home *h = dynamic_cast<AST_Home*> (s);
- if (h != 0)
+ if (h != nullptr)
{
this->scan (h->base_home ());
}
@@ -119,34 +119,34 @@ void
be_home::destroy (void)
{
delete [] this->full_skel_name_;
- this->full_skel_name_ = 0;
+ this->full_skel_name_ = nullptr;
delete [] this->full_coll_name_;
- this->full_coll_name_ = 0;
+ this->full_coll_name_ = nullptr;
delete [] this->local_coll_name_;
- this->local_coll_name_ = 0;
+ this->local_coll_name_ = nullptr;
delete [] this->relative_skel_name_;
- this->relative_skel_name_ = 0;
+ this->relative_skel_name_ = nullptr;
delete [] this->direct_proxy_impl_name_;
- this->direct_proxy_impl_name_ = 0;
+ this->direct_proxy_impl_name_ = nullptr;
delete [] this->full_direct_proxy_impl_name_;
- this->full_direct_proxy_impl_name_ = 0;
+ this->full_direct_proxy_impl_name_ = nullptr;
delete [] this->client_scope_;
- this->client_scope_ = 0;
+ this->client_scope_ = nullptr;
delete [] this->flat_client_scope_;
- this->flat_client_scope_ = 0;
+ this->flat_client_scope_ = nullptr;
delete [] this->server_scope_;
- this->server_scope_ = 0;
+ this->server_scope_ = nullptr;
delete [] this->flat_server_scope_;
- this->flat_server_scope_ = 0;
+ this->flat_server_scope_ = nullptr;
this->be_scope::destroy ();
this->be_type::destroy ();