summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_predefined_type.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_predefined_type.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_predefined_type.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_predefined_type.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_predefined_type.cpp b/TAO/TAO_IDL/be/be_predefined_type.cpp
index b141bd47187..b6943001da8 100644
--- a/TAO/TAO_IDL/be/be_predefined_type.cpp
+++ b/TAO/TAO_IDL/be/be_predefined_type.cpp
@@ -126,16 +126,16 @@ void
be_predefined_type::compute_tc_name (void)
{
// Start with the head as the CORBA namespace.
- Identifier *corba_id = 0;
+ Identifier *corba_id = nullptr;
ACE_NEW (corba_id,
Identifier ("CORBA"));
ACE_NEW (this->tc_name_,
UTL_ScopedName (corba_id,
- 0));
+ nullptr));
- Identifier *id = 0;
- UTL_ScopedName *conc_name = 0;
+ Identifier *id = nullptr;
+ UTL_ScopedName *conc_name = nullptr;
switch (this->pt ())
{
@@ -229,7 +229,7 @@ be_predefined_type::compute_tc_name (void)
ACE_NEW (conc_name,
UTL_ScopedName (id,
- 0));
+ nullptr));
this->tc_name_->nconc (conc_name);
}