diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-11-05 10:51:56 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-11-05 10:51:56 -0400 |
commit | a9207c4a7e8190cb64286afc1b373f16010d0feb (patch) | |
tree | b6815a6debc9b9589145cc12f192b6dd83b3f49e /cpp/include/Ice/LoggerUtil.h | |
parent | Revert "Reverted previous double-underscore changes in IceUtil classes" (diff) | |
download | ice-a9207c4a7e8190cb64286afc1b373f16010d0feb.tar.bz2 ice-a9207c4a7e8190cb64286afc1b373f16010d0feb.tar.xz ice-a9207c4a7e8190cb64286afc1b373f16010d0feb.zip |
Revert "Replaced double and triple underscores in C++ by ice-prefixed names"
This reverts commit 91fa99c34d1211d426b24bf68001fc27a87b3f00.
Diffstat (limited to 'cpp/include/Ice/LoggerUtil.h')
-rw-r--r-- | cpp/include/Ice/LoggerUtil.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/include/Ice/LoggerUtil.h b/cpp/include/Ice/LoggerUtil.h index 0be6d1e4359..ff890e9aedd 100644 --- a/cpp/include/Ice/LoggerUtil.h +++ b/cpp/include/Ice/LoggerUtil.h @@ -24,7 +24,7 @@ public: std::string str() const; - std::ostringstream& iceStr(); // For internal use only. Don't use in your code. + std::ostringstream& __str(); // For internal use only. Don't use in your code. private: @@ -48,7 +48,7 @@ struct LoggerOutputInserter static inline LoggerOutputBase& insert(LoggerOutputBase& out, const T& val) { - out.iceStr() << val; + out.__str() << val; return out; } }; @@ -87,7 +87,7 @@ operator<<(LoggerOutputBase& os, const ::IceInternal::ProxyHandle<T>& p) inline LoggerOutputBase& operator<<(LoggerOutputBase& out, const ::std::exception& ex) { - out.iceStr() << ex.what(); + out.__str() << ex.what(); return out; } @@ -108,13 +108,13 @@ public: inline void flush() { - std::string s = iceStr().str(); + std::string s = __str().str(); if(!s.empty()) { L& ref = *_logger; (ref.*output)(s); } - iceStr().str(""); + __str().str(""); } private: |