This commit is contained in:
JoelKatz
2013-06-10 22:00:09 -07:00
parent 58d7e62ad9
commit 67b92d4d87

View File

@@ -28,19 +28,19 @@ public:
assert((size >= 0) && (age > 2));
}
void getSize()
int getSize()
{
boost::mutex::scoped_lock sl(mNCLock);
return mCache.size();
}
void getTargetSize()
int getTargetSize()
{
boost::mutex::scoped_lock sl(mNCLock);
return mTargetSize;
}
void getTargetAge()
int getTargetAge()
{
boost::mutex::scoped_lock sl(mNCLock);
return mTargetAge;