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:
Nikolaos D. Bougalis
2018-03-15 20:57:57 -07:00
parent 6230204e42
commit 25de6b0a5f
2 changed files with 0 additions and 8 deletions

View File

@@ -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 = {};

View File

@@ -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 ());