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

@@ -106,7 +106,7 @@ Transaction::pointer NetworkOPs::submitTransaction(const Transaction::pointer& t
assert(false);
tpTransNew = Transaction::pointer();
tpTransNew.reset();
}
return tpTransNew;
@@ -571,7 +571,7 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector<Peer::pointer>& peerLis
{
mAcquiringLedger->abort();
theApp->getMasterLedgerAcquire().dropLedger(mAcquiringLedger->getHash());
mAcquiringLedger = LedgerAcquire::pointer();
mAcquiringLedger.reset();
}
return false;
}