summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/CommunicatorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/CommunicatorI.cpp')
-rw-r--r--cpp/src/Ice/CommunicatorI.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp
index 018e743233a..6ddd5544c91 100644
--- a/cpp/src/Ice/CommunicatorI.cpp
+++ b/cpp/src/Ice/CommunicatorI.cpp
@@ -279,11 +279,11 @@ Ice::CommunicatorI::__begin_flushBatchRequests(const IceInternal::CallbackBasePt
// This callback object receives the results of all invocations
// of Connection::begin_flushBatchRequests.
//
- CommunicatorFlushBatchPtr result = new CommunicatorFlushBatch(this,
- _instance,
- __flushBatchRequests_name,
- cb,
- cookie);
+ CommunicatorFlushBatchAsyncPtr result = new CommunicatorFlushBatchAsync(this,
+ _instance,
+ __flushBatchRequests_name,
+ cb,
+ cookie);
connectionFactory->flushAsyncBatchRequests(result);
adapterFactory->flushAsyncBatchRequests(result);