mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Fix pointer comparison for Boost 1.53.
This commit is contained in:
@@ -920,7 +920,7 @@ int NetworkOPs::beginConsensus (uint256 const& networkClosed, Ledger::pointer cl
|
|||||||
|
|
||||||
bool NetworkOPs::haveConsensusObject ()
|
bool NetworkOPs::haveConsensusObject ()
|
||||||
{
|
{
|
||||||
if (mConsensus)
|
if (mConsensus != nullptr)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ((mMode == omFULL) || (mMode == omTRACKING))
|
if ((mMode == omFULL) || (mMode == omTRACKING))
|
||||||
@@ -941,7 +941,7 @@ bool NetworkOPs::haveConsensusObject ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return mConsensus;
|
return mConsensus != nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256 NetworkOPs::getConsensusLCL ()
|
uint256 NetworkOPs::getConsensusLCL ()
|
||||||
|
|||||||
Reference in New Issue
Block a user