mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Avoid needless allocate/copy/free
This commit is contained in:
@@ -15,9 +15,9 @@ public:
|
||||
AccountItem::pointer makeItem(const uint160&, SerializedLedgerEntry::ref ledgerEntry);
|
||||
LedgerEntryType getType(){ return(ltOFFER); }
|
||||
|
||||
STAmount getTakerPays(){ return(mTakerPays); }
|
||||
STAmount getTakerGets(){ return(mTakerGets); }
|
||||
RippleAddress getAccount(){ return(mAccount); }
|
||||
const STAmount& getTakerPays(){ return(mTakerPays); }
|
||||
const STAmount& getTakerGets(){ return(mTakerGets); }
|
||||
const RippleAddress& getAccount(){ return(mAccount); }
|
||||
int getSeq(){ return(mSeq); }
|
||||
Json::Value getJson(int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user