diff options
Diffstat (limited to 'cpp/include/Ice/Outgoing.h')
-rw-r--r-- | cpp/include/Ice/Outgoing.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cpp/include/Ice/Outgoing.h b/cpp/include/Ice/Outgoing.h index cf2dfac20ff..0f4abee7487 100644 --- a/cpp/include/Ice/Outgoing.h +++ b/cpp/include/Ice/Outgoing.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef ICE_OUTGOING_H -#define ICE_OUTGOING_H +#pragma once #include <IceUtil/Mutex.h> #include <IceUtil/Monitor.h> @@ -107,9 +106,9 @@ public: _is.readEncaps(encaps, sz); } - BasicStream* startWriteParams() + BasicStream* startWriteParams(Ice::FormatType format) { - _os.startWriteEncaps(_encoding); + _os.startWriteEncaps(_encoding, format); return &_os; } void endWriteParams() @@ -201,5 +200,3 @@ private: }; } - -#endif |