mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
I don't think this is needed, but it's harmless and saves me from worrying.
This commit is contained in:
@@ -330,3 +330,11 @@ void ValidationCollection::doWrite()
|
||||
}
|
||||
mWriting = false;
|
||||
}
|
||||
|
||||
void ValidationCollection::sweep()
|
||||
{
|
||||
boost::mutex::scoped_lock sl(mValidationLock);
|
||||
mValidations.sweep();
|
||||
}
|
||||
|
||||
// vim:ts=4
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
|
||||
void tune(int size, int age);
|
||||
void flush();
|
||||
void sweep() { mValidations.sweep(); }
|
||||
void sweep();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user