mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
wrong return type.
This commit is contained in:
@@ -140,7 +140,7 @@ template<typename c_Key, typename c_Data> float TaggedCache<c_Key, c_Data>::getH
|
||||
return (static_cast<float>(mHits) * 100) / (1.0 + mHits + mMisses);
|
||||
}
|
||||
|
||||
template<typename c_Key, typename c_Data> float TaggedCache<c_Key, c_Data>::clearStats()
|
||||
template<typename c_Key, typename c_Data> void TaggedCache<c_Key, c_Data>::clearStats()
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock sl(mLock);
|
||||
mHits = 0;
|
||||
|
||||
Reference in New Issue
Block a user