mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Having a function in a base class that's widely overloaded called 'getType'
is a bad idea. Change it to 'getSType'.
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
virtual ~STObject() { ; }
|
||||
|
||||
int getLength() const;
|
||||
SerializedTypeID getType() const { return STI_OBJECT; }
|
||||
SerializedTypeID getSType() const { return STI_OBJECT; }
|
||||
STObject* duplicate() const { return new STObject(*this); }
|
||||
virtual bool isEquivalent(const SerializedType& t) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user