summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 1f9a3342576..b9abdab2a74 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -1130,7 +1130,7 @@ IceInternal::ThreadPool::EventHandlerThread::run()
ThreadPoolCurrent::ThreadPoolCurrent(const InstancePtr& instance, const ThreadPoolPtr& threadPool) :
operation(SocketOperationNone),
- stream(instance.get()),
+ stream(instance.get(), Ice::currentProtocolEncoding),
_threadPool(threadPool.get()),
_ioCompleted(false)
#ifndef ICE_USE_IOCP