summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_helper.h
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_include/be_helper.h
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_include/be_helper.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_helper.h b/TAO/TAO_IDL/be_include/be_helper.h
index 1acdf87dbc5..5ba43cce6d6 100644
--- a/TAO/TAO_IDL/be_include/be_helper.h
+++ b/TAO/TAO_IDL/be_include/be_helper.h
@@ -218,6 +218,9 @@ public:
TAO_OutStream &print (AST_Expression *idl);
+ void insert_comment (const char *file, int line);
+#define TAO_INSERT_COMMENT(STRM) (STRM)->insert_comment (__FILE__, __LINE__)
+
protected:
/// The underlying low-level I/O handle
FILE *fp_;