mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanup.
This commit is contained in:
@@ -68,7 +68,8 @@ public:
|
||||
|
||||
virtual void add(Serializer& s) const { return; }
|
||||
|
||||
virtual bool isEquivalent(const SerializedType& t) const { return true; }
|
||||
virtual bool isEquivalent(const SerializedType& t) const
|
||||
{ assert(getSType() == STI_NOTPRESENT); return t.getSType() == STI_NOTPRESENT; }
|
||||
|
||||
bool operator==(const SerializedType& t) const
|
||||
{ return (getSType() == t.getSType()) && isEquivalent(t); }
|
||||
|
||||
Reference in New Issue
Block a user