63
63
TAO::TypeCode::Indirected_Type::set_recursive_tc (CORBA::TypeCode_ptr tc)
64
64
{
65
65
// link only once (should never happen that this is called twice but test anyway)
66
- if (this ->recursive_tc_ == 0 )
66
+ if (this ->recursive_tc_ == nullptr )
67
67
{
68
68
ACE_GUARD (TAO_SYNCH_MUTEX, ace_mon, this ->mutex_ );
69
69
70
- if (tc == 0 ) // should never happen
70
+ if (tc == nullptr ) // should never happen
71
71
return ;
72
72
73
73
// make sure we are the right kind
@@ -105,7 +105,7 @@ TAO::TypeCode::Indirected_Type::equivalent_i (
105
105
CORBA::TypeCode_ptr
106
106
TAO::TypeCode::Indirected_Type::get_compact_typecode_i () const
107
107
{
108
- return this ->recursive_tc_ ? this ->recursive_tc_ ->get_compact_typecode () : 0 ;
108
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->get_compact_typecode () : nullptr ;
109
109
}
110
110
111
111
char const *
@@ -117,7 +117,7 @@ TAO::TypeCode::Indirected_Type::id_i () const
117
117
char const *
118
118
TAO::TypeCode::Indirected_Type::name_i () const
119
119
{
120
- return this ->recursive_tc_ ? this ->recursive_tc_ ->name () : 0 ;
120
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->name () : nullptr ;
121
121
}
122
122
123
123
CORBA::ULong
@@ -130,14 +130,14 @@ char const *
130
130
TAO::TypeCode::Indirected_Type::member_name_i (
131
131
CORBA::ULong index) const
132
132
{
133
- return this ->recursive_tc_ ? this ->recursive_tc_ ->member_name (index) : 0 ;
133
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->member_name (index) : nullptr ;
134
134
}
135
135
136
136
CORBA::TypeCode_ptr
137
137
TAO::TypeCode::Indirected_Type::member_type_i (
138
138
CORBA::ULong index) const
139
139
{
140
- return this ->recursive_tc_ ? this ->recursive_tc_ ->member_type (index) : 0 ;
140
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->member_type (index) : nullptr ;
141
141
}
142
142
143
143
CORBA::Visibility
@@ -155,19 +155,19 @@ TAO::TypeCode::Indirected_Type::type_modifier_i () const
155
155
CORBA::TypeCode_ptr
156
156
TAO::TypeCode::Indirected_Type::concrete_base_type_i () const
157
157
{
158
- return this ->recursive_tc_ ? this ->recursive_tc_ ->concrete_base_type () : 0 ;
158
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->concrete_base_type () : nullptr ;
159
159
}
160
160
161
161
CORBA::Any *
162
162
TAO::TypeCode::Indirected_Type::member_label_i (CORBA::ULong index) const
163
163
{
164
- return this ->recursive_tc_ ? this ->recursive_tc_ ->member_label (index) : 0 ;
164
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->member_label (index) : nullptr ;
165
165
}
166
166
167
167
CORBA::TypeCode_ptr
168
168
TAO::TypeCode::Indirected_Type::discriminator_type_i () const
169
169
{
170
- return this ->recursive_tc_ ? this ->recursive_tc_ ->discriminator_type () : 0 ;
170
+ return this ->recursive_tc_ ? this ->recursive_tc_ ->discriminator_type () : nullptr ;
171
171
}
172
172
173
173
CORBA::Long
0 commit comments