From f8d8777b9cb4c42d8e693b9c97f8f9469740de76 Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Fri, 19 Nov 2021 16:00:54 -0600 Subject: [PATCH] fixed comments in tao_idl-generated code --- 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 463f869250d1a..153a99add45cf 100644 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ b/TAO/TAO_IDL/be/be_helper.cpp @@ -319,6 +319,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 5afe5cbd37f42..297864ac586e6 100644 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ b/TAO/TAO_IDL/be_include/be_helper.h @@ -190,6 +190,7 @@ class TAO_OutStream #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);