Commit 1ebec219 authored by allens's avatar allens

Fixed a long standing warning

git-svn-id: 18c085ea-50e0-402c-830e-de6fd14e8384
parent c07781eb
......@@ -497,8 +497,8 @@ template<class kT, class vT, MRUCache_DeleteMethod dM, size_t nS>
kT MRUCacheBase<kT,vT,dM,nS>::oldest(void)
typename std::map<kT,size_t>::iterator i = age.begin();
kT retval = i->first;
int oldestAge = i->second;
kT retval = i->first;
size_t oldestAge = i->second;
for (i = age.begin(); i != age.end(); i++)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment