mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
Updates for gcc compiler
This commit is contained in:
@@ -519,8 +519,14 @@ public:
|
||||
stalePolicy_.now(),
|
||||
// The number of validations does not correspond to the number of
|
||||
// distinct ledgerIDs so we do not call reserve on ret.
|
||||
[&](std::size_t) {},
|
||||
[&](NodeKey const&, Validation const& v) {
|
||||
[](std::size_t) {},
|
||||
[this,
|
||||
&cutoffBefore,
|
||||
¤tLedger,
|
||||
&valCurrentLedger,
|
||||
&valPriorLedger,
|
||||
&priorLedger,
|
||||
&ret](NodeKey const&, Validation const& v) {
|
||||
|
||||
if (!v.trusted())
|
||||
return;
|
||||
@@ -539,7 +545,7 @@ public:
|
||||
(valPriorLedger && (v.ledgerID() == priorLedger))))
|
||||
{
|
||||
countPreferred = true;
|
||||
JLOG(j_.trace()) << "Counting for " << currentLedger
|
||||
JLOG(this->j_.trace()) << "Counting for " << currentLedger
|
||||
<< " not " << v.ledgerID();
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#include <ripple/core/LoadMonitor.h>
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
// Note that this queue should only be used for CPU-bound jobs
|
||||
|
||||
Reference in New Issue
Block a user