summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/OutputStream.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-02-05 16:25:26 +0100
committerBenoit Foucher <benoit@zeroc.com>2016-02-05 16:25:26 +0100
commit3cfb37df79a86ff279bee8e57bbe8105ec7edd5e (patch)
treede6e4384041940a162d2bf6711359186bc4240dd /cpp/include/Ice/OutputStream.h
parentFix for java8 compilation failure (diff)
downloadice-3cfb37df79a86ff279bee8e57bbe8105ec7edd5e.tar.bz2
ice-3cfb37df79a86ff279bee8e57bbe8105ec7edd5e.tar.xz
ice-3cfb37df79a86ff279bee8e57bbe8105ec7edd5e.zip
Updated Objective-C mapping to use new stream classes
Diffstat (limited to 'cpp/include/Ice/OutputStream.h')
-rw-r--r--cpp/include/Ice/OutputStream.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/include/Ice/OutputStream.h b/cpp/include/Ice/OutputStream.h
index 5ba33bad8cc..0f0138e78f2 100644
--- a/cpp/include/Ice/OutputStream.h
+++ b/cpp/include/Ice/OutputStream.h
@@ -92,7 +92,6 @@ public:
void resize(Container::size_type sz)
{
b.resize(sz);
- i = b.end();
}
void startObject(const SlicedDataPtr& data)
@@ -468,7 +467,7 @@ public:
size_type pos()
{
- return i - b.begin();
+ return b.size();
}
void rewrite(Int value, size_type p)