diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2021-10-31 21:38:48 -0500 |
---|---|---|
committer | Adam Mitz <mitza@objectcomputing.com> | 2021-10-31 21:38:48 -0500 |
commit | 58754472d3be09f540e6e3632a7175539aa25dba (patch) | |
tree | 184983b4d184b76d06a9292fb7d558bdb5db2cf6 /TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp | |
parent | b01722554a69d1850c026d529e5b0a5e023961cd (diff) | |
download | ATCD-58754472d3be09f540e6e3632a7175539aa25dba.tar.gz |
tao_idl updates for /std:c++20
resolved ambiguous call to operator<< by refactoring to avoid
repetition of the same statement 300 times
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp index ff909252566..8bc43ce8117 100644 --- a/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp +++ b/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp @@ -81,9 +81,7 @@ TAO::be_visitor_struct_typecode::visit (AST_Structure * node, this->is_nested_ = true; TAO_OutStream & os = *this->ctx_->stream (); - os << be_nl_2 - << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; + TAO_INSERT_COMMENT (&os); if (this->gen_member_typecodes (node) != 0) { |