Pass SendCoinsRecipient (208 bytes) by const reference

This commit is contained in:
practicalswift
2017-08-01 23:40:19 +02:00
parent 659c096134
commit d3d946a294
4 changed files with 4 additions and 4 deletions

View File

@@ -205,7 +205,7 @@ void PaymentServerTests::paymentServerTests()
delete server;
}
void RecipientCatcher::getRecipient(SendCoinsRecipient r)
void RecipientCatcher::getRecipient(const SendCoinsRecipient& r)
{
recipient = r;
}

View File

@@ -26,7 +26,7 @@ class RecipientCatcher : public QObject
Q_OBJECT
public Q_SLOTS:
void getRecipient(SendCoinsRecipient r);
void getRecipient(const SendCoinsRecipient& r);
public:
SendCoinsRecipient recipient;