Replace boost::bind with BIND_TYPE where appropriate

This commit is contained in:
Vinnie Falco
2013-06-28 09:18:17 -07:00
parent 122f1c54e2
commit b0c401bc3f
14 changed files with 60 additions and 32 deletions

View File

@@ -312,7 +312,7 @@ void NetworkOPs::runTransactionQueue ()
}
if (theApp->getTxnQueue ().stopProcessing (txn))
theApp->getIOService ().post (boost::bind (&NetworkOPs::runTransactionQueue, this));
theApp->getIOService ().post (BIND_TYPE (&NetworkOPs::runTransactionQueue, this));
}
Transaction::pointer NetworkOPs::processTransaction (Transaction::pointer trans, bool bAdmin, bool bFailHard, stCallback callback)
@@ -2284,7 +2284,7 @@ void NetworkOPs::gotFetchPack (bool progress, uint32 seq)
mLastFetchPack = 0;
mFetchSeq = seq; // earliest pack we have data on
theApp->getJobQueue ().addJob (jtLEDGER_DATA, "gotFetchPack",
boost::bind (&InboundLedgers::gotFetchPack, &theApp->getInboundLedgers (), _1));
BIND_TYPE (&InboundLedgers::gotFetchPack, &theApp->getInboundLedgers (), P_1));
}
void NetworkOPs::missingNodeInLedger (uint32 seq)