summaryrefslogtreecommitdiff
path: root/cpp/demo/IceDiscovery/hello/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceDiscovery/hello/Client.cpp')
-rw-r--r--cpp/demo/IceDiscovery/hello/Client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/demo/IceDiscovery/hello/Client.cpp b/cpp/demo/IceDiscovery/hello/Client.cpp
index 41b0b7b23f8..8c138745718 100644
--- a/cpp/demo/IceDiscovery/hello/Client.cpp
+++ b/cpp/demo/IceDiscovery/hello/Client.cpp
@@ -116,7 +116,8 @@ HelloClient::run(int argc, char* argv[])
}
else if(c == 'f')
{
- communicator()->flushBatchRequests();
+ batchOneway->ice_flushBatchRequests();
+ batchDatagram->ice_flushBatchRequests();
}
else if(c == 'T')
{