summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
diff options
context:
space:
mode:
authorAdam Mitz <mitza@objectcomputing.com>2021-10-31 21:38:48 -0500
committerAdam Mitz <mitza@objectcomputing.com>2021-10-31 21:38:48 -0500
commit58754472d3be09f540e6e3632a7175539aa25dba (patch)
tree184983b4d184b76d06a9292fb7d558bdb5db2cf6 /TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
parentb01722554a69d1850c026d529e5b0a5e023961cd (diff)
downloadATCD-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_exception/exception_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
index a25dc7fb3da..88b75770072 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp
@@ -94,8 +94,7 @@ int be_visitor_exception_cs::visit_exception (be_exception *node)
*os << be_uidt_nl << "}" << be_nl_2;
}
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
// Default constructor.
*os << node->name () << "::" << node->local_name ()