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:
@@ -26,7 +26,7 @@ public:
|
||||
|
||||
// STObject functions
|
||||
int getLength() const;
|
||||
SerializedTypeID getType() const { return STI_TRANSACTION; }
|
||||
SerializedTypeID getSType() const { return STI_TRANSACTION; }
|
||||
SerializedTransaction* duplicate() const { return new SerializedTransaction(*this); }
|
||||
std::string getFullText() const;
|
||||
std::string getText() const;
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
// inner transaction field functions
|
||||
int getITFieldIndex(SOE_Field field) const;
|
||||
int getITFieldCount() const;
|
||||
const SerializedType& peekITField(SOE_Field field);
|
||||
const SerializedType& peekITField(SOE_Field field) const;
|
||||
SerializedType& getITField(SOE_Field field);
|
||||
|
||||
// inner transaction field value functions
|
||||
|
||||
Reference in New Issue
Block a user