mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Remove STValidation::getFlags:
The function is non-virtual and hides the virtual function specified in the base class. Falling back to the virtual function in the base class is the correct solution.
This commit is contained in:
@@ -71,7 +71,6 @@ public:
|
|||||||
uint256 getLedgerHash () const;
|
uint256 getLedgerHash () const;
|
||||||
NetClock::time_point getSignTime () const;
|
NetClock::time_point getSignTime () const;
|
||||||
NetClock::time_point getSeenTime () const;
|
NetClock::time_point getSeenTime () const;
|
||||||
std::uint32_t getFlags () const;
|
|
||||||
PublicKey getSignerPublic () const;
|
PublicKey getSignerPublic () const;
|
||||||
NodeID getNodeID () const
|
NodeID getNodeID () const
|
||||||
{
|
{
|
||||||
@@ -103,8 +102,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
static SOTemplate const& getFormat ();
|
static SOTemplate const& getFormat ();
|
||||||
|
|
||||||
void setNode ();
|
|
||||||
|
|
||||||
NodeID mNodeID;
|
NodeID mNodeID;
|
||||||
bool mTrusted = false;
|
bool mTrusted = false;
|
||||||
NetClock::time_point mSeen = {};
|
NetClock::time_point mSeen = {};
|
||||||
|
|||||||
@@ -92,11 +92,6 @@ NetClock::time_point STValidation::getSeenTime () const
|
|||||||
return mSeen;
|
return mSeen;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::uint32_t STValidation::getFlags () const
|
|
||||||
{
|
|
||||||
return getFieldU32 (sfFlags);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool STValidation::isValid () const
|
bool STValidation::isValid () const
|
||||||
{
|
{
|
||||||
return isValid (getSigningHash ());
|
return isValid (getSigningHash ());
|
||||||
|
|||||||
Reference in New Issue
Block a user