From 65f57025d8615cff69543ab63ddc30701f7f4e85 Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Fri, 19 Nov 2021 16:07:46 -0600 Subject: fixed comments in tao_idl-generated code (cherry picked from commit f8d8777b9cb4c42d8e693b9c97f8f9469740de76) --- TAO/TAO_IDL/be/be_helper.cpp | 7 +++++++ TAO/TAO_IDL/be_include/be_helper.h | 1 + 2 files changed, 8 insertions(+) diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp index 1bf90f25d7e..ec79ce3ee3b 100644 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ b/TAO/TAO_IDL/be/be_helper.cpp @@ -318,6 +318,13 @@ TAO_OutStream::operator<< (const char *str) return *this; } +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) { diff --git a/TAO/TAO_IDL/be_include/be_helper.h b/TAO/TAO_IDL/be_include/be_helper.h index 5ba43cce6d6..1986da3fa73 100644 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ b/TAO/TAO_IDL/be_include/be_helper.h @@ -186,6 +186,7 @@ public: } 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); -- cgit v1.2.1