diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-11-02 17:56:08 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-11-02 17:56:08 -0400 |
commit | 91fa99c34d1211d426b24bf68001fc27a87b3f00 (patch) | |
tree | 15af995f00414098b678b4cff09a9f0c29830fa8 /cpp/test/Ice/stream/Client.cpp | |
parent | Add C# code sign support (diff) | |
download | ice-91fa99c34d1211d426b24bf68001fc27a87b3f00.tar.bz2 ice-91fa99c34d1211d426b24bf68001fc27a87b3f00.tar.xz ice-91fa99c34d1211d426b24bf68001fc27a87b3f00.zip |
Replaced double and triple underscores in C++ by ice-prefixed names
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 31ab757aa7f..bcff7f85e9a 100644 --- a/cpp/test/Ice/stream/Client.cpp +++ b/cpp/test/Ice/stream/Client.cpp @@ -32,13 +32,13 @@ public: called = false; } - virtual void __write(Ice::OutputStream* out) const + virtual void iceWrite(Ice::OutputStream* out) const { - obj->__write(out); + obj->iceWrite(out); const_cast<TestObjectWriter*>(this)->called = true; } - virtual void __read(Ice::InputStream*) + virtual void iceRead(Ice::InputStream*) { assert(false); } @@ -61,15 +61,15 @@ public: called = false; } - virtual void __write(Ice::OutputStream*) const + virtual void iceWrite(Ice::OutputStream*) const { assert(false); } - virtual void __read(Ice::InputStream* in) + virtual void iceRead(Ice::InputStream* in) { obj = ICE_MAKE_SHARED(MyClass); - obj->__read(in); + obj->iceRead(in); called = true; } @@ -78,29 +78,29 @@ public: }; ICE_DEFINE_PTR(TestObjectReaderPtr, TestObjectReader); -// Required for ValueHelper<>'s __readImpl and __writeIpml +// Required for ValueHelper<>'s iceReadImpl and iceWriteIpml #ifdef ICE_CPP11_MAPPING namespace Ice { template<class S> struct StreamWriter<TestObjectWriter, S> { - static void write(S* __os, const TestObjectWriter&) { assert(false); } + static void write(S* iceOs, const TestObjectWriter&) { assert(false); } }; template<class S> struct StreamReader<TestObjectWriter, S> { - static void read(S* __is, TestObjectWriter&) { assert(false); } + static void read(S* iceIs, TestObjectWriter&) { assert(false); } }; template<class S> struct StreamWriter<TestObjectReader, S> { - static void write(S* __os, const TestObjectReader&) { assert(false); } + static void write(S* iceOs, const TestObjectReader&) { assert(false); } }; template<class S> struct StreamReader<TestObjectReader, S> { - static void read(S* __is, TestObjectReader&) { assert(false); } + static void read(S* iceIs, TestObjectReader&) { assert(false); } }; } #endif |