mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +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;
|
||||
NetClock::time_point getSignTime () const;
|
||||
NetClock::time_point getSeenTime () const;
|
||||
std::uint32_t getFlags () const;
|
||||
PublicKey getSignerPublic () const;
|
||||
NodeID getNodeID () const
|
||||
{
|
||||
@@ -103,8 +102,6 @@ public:
|
||||
private:
|
||||
static SOTemplate const& getFormat ();
|
||||
|
||||
void setNode ();
|
||||
|
||||
NodeID mNodeID;
|
||||
bool mTrusted = false;
|
||||
NetClock::time_point mSeen = {};
|
||||
|
||||
@@ -92,11 +92,6 @@ NetClock::time_point STValidation::getSeenTime () const
|
||||
return mSeen;
|
||||
}
|
||||
|
||||
std::uint32_t STValidation::getFlags () const
|
||||
{
|
||||
return getFieldU32 (sfFlags);
|
||||
}
|
||||
|
||||
bool STValidation::isValid () const
|
||||
{
|
||||
return isValid (getSigningHash ());
|
||||
|
||||
Reference in New Issue
Block a user