Skip to content

Commit

Permalink
Trivial: explicit (default) copy-constructor for CTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Dec 20, 2020
1 parent 2af2306 commit 454aa37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/primitives/transaction.h
Expand Up @@ -266,6 +266,7 @@ class CTransaction
CTransaction(const CMutableTransaction &tx);
CTransaction(CMutableTransaction &&tx);

CTransaction(const CTransaction& tx) = default;
CTransaction& operator=(const CTransaction& tx);

ADD_SERIALIZE_METHODS;
Expand Down

0 comments on commit 454aa37

Please sign in to comment.