diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp index e8a0068182c..201b7a51ac1 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp @@ -19,7 +19,7 @@ be_visitor_valuetype_marshal_cs::be_visitor_valuetype_marshal_cs ( { } -be_visitor_valuetype_marshal_cs::~be_visitor_valuetype_marshal_cs (void) +be_visitor_valuetype_marshal_cs::~be_visitor_valuetype_marshal_cs () { } @@ -42,7 +42,7 @@ be_visitor_valuetype_marshal_cs::visit_valuetype (be_valuetype *node) // If the valuetype has no fields, and no stateful inherit, // the stream arg is unused. - if (inh != 0 || node->data_members_count () > 0) + if (inh != nullptr || node->data_members_count () > 0) { *os << "strm"; } @@ -50,7 +50,7 @@ be_visitor_valuetype_marshal_cs::visit_valuetype (be_valuetype *node) *os << ", TAO_ChunkInfo&"; // If the valuetype has no fields, and no stateful inherit, // the chunking helper arg is unused. - if (inh != 0 || node->data_members_count () > 0) + if (inh != nullptr || node->data_members_count () > 0) { *os << "ci"; } @@ -137,7 +137,7 @@ be_visitor_valuetype_marshal_cs::visit_valuetype (be_valuetype *node) // If the valuetype has no fields, and no stateful inherit, // the stream arg is unused. - if (inh != 0 || node->data_members_count () > 0) + if (inh != nullptr || node->data_members_count () > 0) { *os << "strm"; } @@ -145,7 +145,7 @@ be_visitor_valuetype_marshal_cs::visit_valuetype (be_valuetype *node) *os << ", TAO_ChunkInfo&"; // If the valuetype has no fields, and no stateful inherit, // the chunking helper arg is unused. - if (inh != 0 || node->data_members_count () > 0) + if (inh != nullptr || node->data_members_count () > 0) { *os << "ci"; } @@ -219,7 +219,7 @@ be_visitor_valuetype_marshal_cs::visit_valuetype (be_valuetype *node) this->class_name (node, os); - *os << "::truncation_hook (void)" << be_nl + *os << "::truncation_hook ()" << be_nl << "{" << be_idt_nl << "this->require_truncation_ = true;" << be_uidt_nl << "}" << be_nl_2; @@ -281,7 +281,7 @@ be_visitor_valuetype_marshal_cs::gen_fields (be_valuetype *node, be_field *field = dynamic_cast<be_field*> (d); - if (field != 0 && attr == 0) + if (field != nullptr && attr == nullptr) { if (n_processed > 0) { |