mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
x = y::pointer() -> x.reset()
This commit is contained in:
@@ -184,7 +184,7 @@ ValidationCollection::getCurrentValidations(uint256 currentLedger)
|
||||
else if (it->second->getSignTime() < cutoff)
|
||||
{ // contains a stale record
|
||||
mStaleValidations.push_back(it->second);
|
||||
it->second = SerializedValidation::pointer();
|
||||
it->second.reset();
|
||||
condWrite();
|
||||
it = mCurrentValidations.erase(it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user