From 58754472d3be09f540e6e3632a7175539aa25dba Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Sun, 31 Oct 2021 21:38:48 -0500 Subject: tao_idl updates for /std:c++20 resolved ambiguous call to operator<< by refactoring to avoid repetition of the same statement 300 times --- TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp') diff --git a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp index d190c985d5e..fe0ac4e38e0 100644 --- a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp @@ -33,8 +33,7 @@ be_visitor_exception_cdr_op_ch::visit_exception (be_exception *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__; + TAO_INSERT_COMMENT (os); *os << be_global->core_versioning_begin () << be_nl; -- cgit v1.2.1