mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Bugfix.
This commit is contained in:
@@ -28,19 +28,19 @@ public:
|
|||||||
assert((size >= 0) && (age > 2));
|
assert((size >= 0) && (age > 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void getSize()
|
int getSize()
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock sl(mNCLock);
|
boost::mutex::scoped_lock sl(mNCLock);
|
||||||
return mCache.size();
|
return mCache.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
void getTargetSize()
|
int getTargetSize()
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock sl(mNCLock);
|
boost::mutex::scoped_lock sl(mNCLock);
|
||||||
return mTargetSize;
|
return mTargetSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
void getTargetAge()
|
int getTargetAge()
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock sl(mNCLock);
|
boost::mutex::scoped_lock sl(mNCLock);
|
||||||
return mTargetAge;
|
return mTargetAge;
|
||||||
|
|||||||
Reference in New Issue
Block a user