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