diff options
-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 1bf90f25d7e..ec79ce3ee3b 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) } 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 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); |