summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/InterfaceByValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/InterfaceByValue.h')
-rw-r--r--cpp/include/Ice/InterfaceByValue.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/cpp/include/Ice/InterfaceByValue.h b/cpp/include/Ice/InterfaceByValue.h
index c2be72d3eb9..c32227a14d4 100644
--- a/cpp/include/Ice/InterfaceByValue.h
+++ b/cpp/include/Ice/InterfaceByValue.h
@@ -11,7 +11,8 @@
#define ICE_INTERFACE_BY_VALUE_H
#include <Ice/Value.h>
-#include <Ice/BasicStream.h>
+#include <Ice/OutputStream.h>
+#include <Ice/InputStream.h>
#ifdef ICE_CPP11_MAPPING
@@ -24,17 +25,17 @@ class InterfaceByValue : public Ice::ValueHelper<Ice::InterfaceByValue<T>, Ice::
public:
virtual void
- __writeImpl(::IceInternal::BasicStream* __os) const
+ __writeImpl(::Ice::OutputStream* __os) const
{
- __os->startWriteSlice(T::ice_staticId(), -1, true);
- __os->endWriteSlice();
+ __os->startSlice(T::ice_staticId(), -1, true);
+ __os->endSlice();
}
virtual void
- __readImpl(::IceInternal::BasicStream* __is)
+ __readImpl(::Ice::InputStream* __is)
{
- __is->startReadSlice();
- __is->endReadSlice();
+ __is->startSlice();
+ __is->endSlice();
}
virtual const std::string& ice_id() const