summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-15 18:35:14 +0100
committerJose <jose@zeroc.com>2015-12-15 18:35:14 +0100
commitde0939c485861ad124f64e213883c74571eefa2b (patch)
treec6dc163ddcee5aa0d878eb2463b57fc6a32a5f47 /cpp/src/Ice/ThreadPool.h
parentRemoved iOS workaround from udp test (diff)
downloadice-de0939c485861ad124f64e213883c74571eefa2b.tar.bz2
ice-de0939c485861ad124f64e213883c74571eefa2b.tar.xz
ice-de0939c485861ad124f64e213883c74571eefa2b.zip
C++11 mapping: fixes to InitializationData
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h
index c6db0465bee..3a440f5ca32 100644
--- a/cpp/src/Ice/ThreadPool.h
+++ b/cpp/src/Ice/ThreadPool.h
@@ -132,7 +132,11 @@ private:
std::string nextThreadId();
const InstancePtr _instance;
+#ifdef ICE_CPP11_MAPPING
+ std::function<void (std::function<void ()>, const std::shared_ptr<Ice::Connection>&)> _dispatcher;
+#else
const Ice::DispatcherPtr _dispatcher;
+#endif
ThreadPoolWorkQueuePtr _workQueue;
bool _destroyed;
const std::string _prefix;