summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp
diff options
context:
space:
mode:
authorAdam Mitz <mitza@objectcomputing.com>2021-11-03 16:48:01 -0500
committerGitHub <noreply@github.com>2021-11-03 16:48:01 -0500
commit15e4737ddce6b0a73451e5f9856f7e5641b6173b (patch)
treefdf5e8474dc05ddf5fe92f4231f15c0b19fe4f71 /TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp
parent0bfb484a3635dcc293eb2c3367fd52da05722596 (diff)
parente891d97240963103798e3e78876447b171835e7e (diff)
downloadATCD-15e4737ddce6b0a73451e5f9856f7e5641b6173b.tar.gz
Merge pull request #1709 from mitza-oci/msvc-langstd
Port to MSVC with /std:c++17 and 20
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp b/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp
index 89701c0a0de..d8d3d370aa2 100644
--- a/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp
@@ -31,8 +31,7 @@ be_visitor_constant_ch::visit_constant (be_constant *node)
TAO_OutStream *os = this->ctx_->stream ();
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__;
+ TAO_INSERT_COMMENT (os);
// If we are defined in the outermost scope, then the value is assigned
// to us here itself, else it will be in the *.cpp file.