aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/pending_transaction.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-22 15:50:59 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 16:01:41 +0300
commit23cbf6fd977b0c03cc2bd2231d009ec386e8d1fa (patch)
tree7503a0807801062411796a0b5697074fa5bdbcb5 /src/wallet/api/pending_transaction.h
parentcommented regex (diff)
downloadmonero-23cbf6fd977b0c03cc2bd2231d009ec386e8d1fa.tar.xz
PendingTransactionImpl: pointer->reference
Diffstat (limited to 'src/wallet/api/pending_transaction.h')
-rw-r--r--src/wallet/api/pending_transaction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/pending_transaction.h b/src/wallet/api/pending_transaction.h
index 0ae3eb8e2..8e09bec91 100644
--- a/src/wallet/api/pending_transaction.h
+++ b/src/wallet/api/pending_transaction.h
@@ -41,7 +41,7 @@ class WalletImpl;
class PendingTransactionImpl : public PendingTransaction
{
public:
- PendingTransactionImpl(WalletImpl * wallet);
+ PendingTransactionImpl(WalletImpl &wallet);
~PendingTransactionImpl();
int status() const;
std::string errorString() const;
@@ -53,7 +53,7 @@ public:
private:
friend class WalletImpl;
- WalletImpl * m_wallet;
+ WalletImpl &m_wallet;
int m_status;
std::string m_errorString;