diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-04-23 10:53:02 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-04-23 10:53:02 -0230 |
commit | c03bd3329ca4fb8f76bcd46f2fe715055a52d782 (patch) | |
tree | ca8b8c327253a43bba17f6f35e59e8310821c045 /cpp/src/Ice/ThreadPool.cpp | |
parent | Bug 3002 - SizeWarn < Size (diff) | |
download | ice-c03bd3329ca4fb8f76bcd46f2fe715055a52d782.tar.bz2 ice-c03bd3329ca4fb8f76bcd46f2fe715055a52d782.tar.xz ice-c03bd3329ca4fb8f76bcd46f2fe715055a52d782.zip |
Fixed warning check
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 7c3f12dadf9..1d2352d2439 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -63,7 +63,7 @@ IceInternal::ThreadPool::ThreadPool(const InstancePtr& instance, const string& p } int sizeWarn = _instance->initializationData().properties->getPropertyAsInt(_prefix + ".SizeWarn"); - if(sizeWarn < size) + if(sizeWarn != 0 && sizeWarn < size) { Warning out(_instance->initializationData().logger); out << _prefix << ".SizeWarn < " << _prefix << ".Size; adjusted SizeWarn to Size (" << size << ")"; |