diff options
Diffstat (limited to 'cpp/include/Ice/OutgoingAsync.h')
-rw-r--r-- | cpp/include/Ice/OutgoingAsync.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cpp/include/Ice/OutgoingAsync.h b/cpp/include/Ice/OutgoingAsync.h index 772301d92ab..a8c1c13bdd4 100644 --- a/cpp/include/Ice/OutgoingAsync.h +++ b/cpp/include/Ice/OutgoingAsync.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef ICE_OUTGOING_ASYNC_H -#define ICE_OUTGOING_ASYNC_H +#pragma once #include <IceUtil/Monitor.h> #include <IceUtil/Mutex.h> @@ -223,9 +222,9 @@ public: bool __send(bool); - BasicStream* __startWriteParams() + BasicStream* __startWriteParams(Ice::FormatType format) { - _os.startWriteEncaps(_encoding); + _os.startWriteEncaps(_encoding, format); return &_os; } void __endWriteParams() @@ -465,5 +464,3 @@ public: }; } - -#endif |