mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 18:22:57 +02:00
Pass SendCoinsRecipient (208 bytes) by const reference
This commit is contained in:
@@ -205,7 +205,7 @@ void PaymentServerTests::paymentServerTests()
|
||||
delete server;
|
||||
}
|
||||
|
||||
void RecipientCatcher::getRecipient(SendCoinsRecipient r)
|
||||
void RecipientCatcher::getRecipient(const SendCoinsRecipient& r)
|
||||
{
|
||||
recipient = r;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user