summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-02-20 19:51:16 +0000
committerMarc Laukien <marc@zeroc.com>2004-02-20 19:51:16 +0000
commit20a7255e065531c6ef4e6c8ec593f007cb808b6f (patch)
tree4584d79b8188d4212cfa8a073d1baf65be1027e0 /cpp
parentfixes (diff)
downloadice-20a7255e065531c6ef4e6c8ec593f007cb808b6f.tar.bz2
ice-20a7255e065531c6ef4e6c8ec593f007cb808b6f.tar.xz
ice-20a7255e065531c6ef4e6c8ec593f007cb808b6f.zip
fix
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/Ice/OutgoingAsync.h1
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp4
2 files changed, 1 insertions, 4 deletions
diff --git a/cpp/include/Ice/OutgoingAsync.h b/cpp/include/Ice/OutgoingAsync.h
index 809e05aee44..61a37ff6aaa 100644
--- a/cpp/include/Ice/OutgoingAsync.h
+++ b/cpp/include/Ice/OutgoingAsync.h
@@ -48,7 +48,6 @@ protected:
void __prepare(const IceInternal::ReferencePtr&, const std::string&, Ice::OperationMode, const Ice::Context&);
void __send();
- void __cleanup();
virtual void __response(bool) = 0;
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index a4ac2f3e7ae..ba255519aff 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -62,7 +62,6 @@ IceInternal::OutgoingAsync::__finished(BasicStream& is)
{
delete __is;
__is = new BasicStream(_reference->instance.get());
-
__is->swap(is);
Byte b;
@@ -128,8 +127,7 @@ IceInternal::OutgoingAsync::__finished(BasicStream& is)
default:
{
- UnknownReplyStatusException ex(__FILE__, __LINE__);
- throw ex;
+ throw UnknownReplyStatusException(__FILE__, __LINE__);
}
}
}