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/test/Ice/stream/Client.cpp | |
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/test/Ice/stream/Client.cpp')
-rw-r--r-- | cpp/test/Ice/stream/Client.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/test/Ice/stream/Client.cpp b/cpp/test/Ice/stream/Client.cpp index bcff7f85e9a..31ab757aa7f 100644 --- a/cpp/test/Ice/stream/Client.cpp +++ b/cpp/test/Ice/stream/Client.cpp @@ -32,13 +32,13 @@ public: called = false; } - virtual void iceWrite(Ice::OutputStream* out) const + virtual void __write(Ice::OutputStream* out) const { - obj->iceWrite(out); + obj->__write(out); const_cast<TestObjectWriter*>(this)->called = true; } - virtual void iceRead(Ice::InputStream*) + virtual void __read(Ice::InputStream*) { assert(false); } @@ -61,15 +61,15 @@ public: called = false; } - virtual void iceWrite(Ice::OutputStream*) const + virtual void __write(Ice::OutputStream*) const { assert(false); } - virtual void iceRead(Ice::InputStream* in) + virtual void __read(Ice::InputStream* in) { obj = ICE_MAKE_SHARED(MyClass); - obj->iceRead(in); + obj->__read(in); called = true; } @@ -78,29 +78,29 @@ public: }; ICE_DEFINE_PTR(TestObjectReaderPtr, TestObjectReader); -// Required for ValueHelper<>'s iceReadImpl and iceWriteIpml +// Required for ValueHelper<>'s __readImpl and __writeIpml #ifdef ICE_CPP11_MAPPING namespace Ice { template<class S> struct StreamWriter<TestObjectWriter, S> { - static void write(S* iceOs, const TestObjectWriter&) { assert(false); } + static void write(S* __os, const TestObjectWriter&) { assert(false); } }; template<class S> struct StreamReader<TestObjectWriter, S> { - static void read(S* iceIs, TestObjectWriter&) { assert(false); } + static void read(S* __is, TestObjectWriter&) { assert(false); } }; template<class S> struct StreamWriter<TestObjectReader, S> { - static void write(S* iceOs, const TestObjectReader&) { assert(false); } + static void write(S* __os, const TestObjectReader&) { assert(false); } }; template<class S> struct StreamReader<TestObjectReader, S> { - static void read(S* iceIs, TestObjectReader&) { assert(false); } + static void read(S* __is, TestObjectReader&) { assert(false); } }; } #endif |