diff options
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/ObjectCache.cpp | 2 |
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()); } |