Add const to methods that do not modify the object for which it is called

This commit is contained in:
practicalswift committed 2017-07-25 13:46:52 +02:00
1 parent 0c70e845aa
commit 6e8c48dc59
23 files changed
+38 -38

No files matched your search

+4 -4
View File
@@ -22,15 +22,15 @@ public:
explicit WalletModelTransaction(const QList<SendCoinsRecipient> &recipients);
~WalletModelTransaction();
QList<SendCoinsRecipient> getRecipients();
QList<SendCoinsRecipient> getRecipients() const;
CWalletTx *getTransaction();
CWalletTx *getTransaction() const;
unsigned int getTransactionSize();
void setTransactionFee(const CAmount& newFee);
CAmount getTransactionFee();
CAmount getTransactionFee() const;
CAmount getTotalTransactionAmount();
CAmount getTotalTransactionAmount() const;
void newPossibleKeyChange(CWallet *wallet);
CReserveKey *getPossibleKeyChange();