diff options
author | Marc Laukien <marc@zeroc.com> | 2002-12-30 05:19:03 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-12-30 05:19:03 +0000 |
commit | a8f175455eeb6ab82cdd4b15edbc8f480b2ad5dc (patch) | |
tree | 22552b21c83ead223a3c2f4f5a409d0196358135 /cpp/include/Ice/BasicStream.h | |
parent | fixes (diff) | |
download | ice-a8f175455eeb6ab82cdd4b15edbc8f480b2ad5dc.tar.bz2 ice-a8f175455eeb6ab82cdd4b15edbc8f480b2ad5dc.tar.xz ice-a8f175455eeb6ab82cdd4b15edbc8f480b2ad5dc.zip |
fixes
Diffstat (limited to 'cpp/include/Ice/BasicStream.h')
-rw-r--r-- | cpp/include/Ice/BasicStream.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/include/Ice/BasicStream.h b/cpp/include/Ice/BasicStream.h index ae68aa68490..fc8ca6654c5 100644 --- a/cpp/include/Ice/BasicStream.h +++ b/cpp/include/Ice/BasicStream.h @@ -35,13 +35,13 @@ class ICE_API BasicStream : public Buffer { public: - BasicStream(const InstancePtr&); + BasicStream(Instance*); // - // Must return const InstancePtr&, because we don't hold an - // InstancePtr for optimization reasons (see comments below). + // Must return Instance*, because we don't hold an InstancePtr for + // optimization reasons (see comments below). // - const InstancePtr& instance() const; + Instance* instance() const; void swap(BasicStream&); @@ -125,9 +125,9 @@ private: // // Optimization. The instance may not be deleted while a - // stack-allocated Incoming still holds it. + // stack-allocated BasicStream still holds it. // - const InstancePtr& _instance; + Instance* _instance; struct ReadEncaps { |