Use lambdas everywhere in JobQueue.

Conflicts:
	src/ripple/app/ledger/impl/LedgerConsensusImp.cpp
This commit is contained in:
Tom Ritchford
2015-08-10 13:49:33 -04:00
committed by Nik Bougalis
parent a6f866b4d8
commit c1f50ca7b3
25 changed files with 154 additions and 129 deletions

View File

@@ -223,8 +223,7 @@ private:
running_ = true;
}
jobQueue_.addJob (
jtWAL, "WAL", std::bind (&WALCheckpointer::checkpoint, this));
jobQueue_.addJob (jtWAL, "WAL", [this] (Job&) { checkpoint(); });
}
void checkpoint ()