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_operation/amh_rh_sh.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp') diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp index d787bde8e24..55c754c1b2e 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp @@ -56,8 +56,7 @@ be_visitor_amh_rh_operation_sh::visit_operation (be_operation *node) -1); } - *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl; + TAO_INSERT_COMMENT (os); *os << "void "; -- cgit v1.2.1