summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/AsyncResult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/AsyncResult.cpp')
-rw-r--r--cpp/src/Ice/AsyncResult.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/AsyncResult.cpp b/cpp/src/Ice/AsyncResult.cpp
index bd8cdc80ccf..37a5581f11a 100644
--- a/cpp/src/Ice/AsyncResult.cpp
+++ b/cpp/src/Ice/AsyncResult.cpp
@@ -128,12 +128,12 @@ AsyncResult::__throwUserException()
{
try
{
- _is.startReadEncaps();
+ _is.startEncapsulation();
_is.throwException();
}
catch(const Ice::UserException&)
{
- _is.endReadEncaps();
+ _is.endEncapsulation();
throw;
}
}