From b3268529545a6ad8ff6ea3725cfbec8f4c62b4db Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 14 Oct 2012 22:40:48 -0700 Subject: [PATCH] Return true from canonicalize even if we refreshed the data. --- src/TaggedCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TaggedCache.h b/src/TaggedCache.h index 62a9e699d..cf1b55bab 100644 --- a/src/TaggedCache.h +++ b/src/TaggedCache.h @@ -169,7 +169,7 @@ bool TaggedCache::canonicalize(const key_type& key, boost::shared { // in map, but expired. Update in map, insert in cache mit->second = data; mCache.insert(std::make_pair(key, std::make_pair(time(NULL), data))); - return false; + return true; } // in map and cache, canonicalize