x = y::pointer() -> x.reset()

This commit is contained in:
JoelKatz
2012-11-02 09:00:29 -07:00
parent fc9e2f4b4e
commit 6394ca2341
11 changed files with 18 additions and 17 deletions

View File

@@ -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);
}