diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-08-15 20:43:32 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-08-15 20:43:45 +0200 |
commit | 64e66bb2628820903e6ca1074a1805b305c4565e (patch) | |
tree | ab642373501d071e31eecc2607ce58dd68458d07 /src/qt/test/paymentservertests.cpp | |
parent | 3841aaf059638f3da291bfc86bf70fddf4b27e2f (diff) | |
parent | d3d946a294988ca3ab2b2c8848da5b393fbbcf42 (diff) | |
download | bitcoin-64e66bb2628820903e6ca1074a1805b305c4565e.tar.xz |
Merge #10964: Pass SendCoinsRecipient (208 bytes) by reference
d3d946a29 Pass SendCoinsRecipient (208 bytes) by const reference (practicalswift)
Pull request description:
Pass `SendCoinsRecipient` (208 bytes) by reference.
Avoid passing big parameters by value.
Tree-SHA512: 504791f1b1c73badbc276db13b83e39695298d7d82a9db0e48d54e7ef02f1a8d276b0adfdece1ba1130cc214e2f0fa9a3100b5359d0ca0fe96558d3c9a786e6e
Diffstat (limited to 'src/qt/test/paymentservertests.cpp')
-rw-r--r-- | src/qt/test/paymentservertests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index d9fb869821..c7830071ed 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -205,7 +205,7 @@ void PaymentServerTests::paymentServerTests() delete server; } -void RecipientCatcher::getRecipient(SendCoinsRecipient r) +void RecipientCatcher::getRecipient(const SendCoinsRecipient& r) { recipient = r; } |