summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-05-09 10:15:07 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-05-09 10:15:07 +0000
commit38d1b4541228401cfa4396957f00a0831165394d (patch)
tree5cbc134e7f4480c2d0d96b3ee0d7465d4f66391a /cpp/src/IceGrid/ObjectCache.cpp
parentFix (diff)
downloadice-38d1b4541228401cfa4396957f00a0831165394d.tar.bz2
ice-38d1b4541228401cfa4396957f00a0831165394d.tar.xz
ice-38d1b4541228401cfa4396957f00a0831165394d.zip
Small fix
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r--cpp/src/IceGrid/ObjectCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp
index 2c1778bb7ef..05897f1cee8 100644
--- a/cpp/src/IceGrid/ObjectCache.cpp
+++ b/cpp/src/IceGrid/ObjectCache.cpp
@@ -263,7 +263,7 @@ ObjectCache::getObjectsByType(const string& type)
const vector<ObjectEntryPtr>& objects = p->second.getObjects();
for(vector<ObjectEntryPtr>::const_iterator q = objects.begin(); q != objects.end(); ++q)
{
- if((*q)->isAllocatable()) // Only return non-allocatable objects.
+ if(!(*q)->isAllocatable()) // Only return non-allocatable objects.
{
proxies.push_back((*q)->getProxy());
}