diff options
author | Jose <jose@zeroc.com> | 2013-01-31 16:51:40 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-01-31 16:51:40 +0100 |
commit | 4d55f11cdf22fbc23e3e7c9f4758566bd05a9471 (patch) | |
tree | f5c3071ebb27c18dae2fb2585706bd9af8dd92cf /cpp/src/IceGrid/ObjectCache.cpp | |
parent | Fixed ICE-4870 - optional comparison operators on C++ structs (diff) | |
download | ice-4d55f11cdf22fbc23e3e7c9f4758566bd05a9471.tar.bz2 ice-4d55f11cdf22fbc23e3e7c9f4758566bd05a9471.tar.xz ice-4d55f11cdf22fbc23e3e7c9f4758566bd05a9471.zip |
Xcode 4.6 - clang 4.2 updates
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/ObjectCache.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp index f78b75ed1a1..988fd6dc7a9 100644 --- a/cpp/src/IceGrid/ObjectCache.cpp +++ b/cpp/src/IceGrid/ObjectCache.cpp @@ -86,7 +86,7 @@ ObjectCache::add(const ObjectInfo& info, const string& application) return; } - ObjectEntryPtr entry = new ObjectEntry(*this, info, application); + ObjectEntryPtr entry = new ObjectEntry(info, application); addImpl(id, entry); map<string, TypeEntry>::iterator p = _types.find(entry->getType()); @@ -194,8 +194,7 @@ ObjectCache::getAllByType(const string& type) return infos; } -ObjectEntry::ObjectEntry(ObjectCache& cache, const ObjectInfo& info, const string& application) : - _cache(cache), +ObjectEntry::ObjectEntry(const ObjectInfo& info, const string& application) : _info(info), _application(application) { |