Remove some shared pointers on load monitors.

This commit is contained in:
JoelKatz
2012-11-28 15:53:07 -08:00
parent 8ba70c73f6
commit 72777b6b83
9 changed files with 15 additions and 11 deletions

View File

@@ -289,7 +289,7 @@ void ValidationCollection::condWrite()
void ValidationCollection::doWrite()
{
LoadEvent::pointer event = theApp->getJobQueue().getLoadEvent(jtDISK);
LoadEvent::autoptr event(theApp->getJobQueue().getLoadEventAP(jtDISK));
static boost::format insVal("INSERT INTO LedgerValidations "
"(LedgerHash,NodePubKey,Flags,SignTime,Signature) VALUES ('%s','%s','%u','%u',%s);");