From 4d55f11cdf22fbc23e3e7c9f4758566bd05a9471 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 31 Jan 2013 16:51:40 +0100 Subject: Xcode 4.6 - clang 4.2 updates --- cpp/src/IceGrid/ObjectCache.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cpp/src/IceGrid/ObjectCache.cpp') 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::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) { -- cgit v1.2.3