diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2021-11-23 09:09:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 09:09:04 -0600 |
commit | b451f7e5b2ebaaa95085fab746821d9de167efab (patch) | |
tree | 2529f1d732d9d86726341e39eca13e342ca5f157 /TAO | |
parent | 570490704a2d0e1a74b42ce4c6363a9a5e149938 (diff) | |
parent | f8d8777b9cb4c42d8e693b9c97f8f9469740de76 (diff) | |
download | ATCD-b451f7e5b2ebaaa95085fab746821d9de167efab.tar.gz |
Merge pull request #1738 from mitza-oci/tao2-comments
[TAO 2] fixed comments in tao_idl-generated code
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/TAO_IDL/be/be_helper.cpp | 7 | ||||
-rw-r--r-- | TAO/TAO_IDL/be_include/be_helper.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp index 463f869250d..153a99add45 100644 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ b/TAO/TAO_IDL/be/be_helper.cpp @@ -320,6 +320,13 @@ TAO_OutStream::operator<< (const char *str) } TAO_OutStream & +TAO_OutStream::operator<< (char ch) +{ + ACE_OS::fprintf (this->fp_, "%c", ch); + return *this; +} + +TAO_OutStream & TAO_OutStream::operator<< (const ACE_CString &str) { ACE_OS::fprintf (this->fp_, "%s", str.c_str ()); diff --git a/TAO/TAO_IDL/be_include/be_helper.h b/TAO/TAO_IDL/be_include/be_helper.h index 5afe5cbd37f..297864ac586 100644 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ b/TAO/TAO_IDL/be_include/be_helper.h @@ -190,6 +190,7 @@ public: #endif /* ACE_HAS_CPP11 */ TAO_OutStream &operator<< (const char *str); + TAO_OutStream &operator<< (char ch); TAO_OutStream &operator<< (const ACE_CString &str); TAO_OutStream &operator<< (const ACE_CDR::UShort num); TAO_OutStream &operator<< (const ACE_CDR::Short num); |