diff options
| author | practicalswift <[email protected]> | 2017-06-04 01:09:48 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-06-04 01:09:48 +0200 |
| commit | 656dbd871ae5f460c6ae4506376b059ed41fb6bc (patch) | |
| tree | e37b93c406ba17745fedb54be9593f43ae9d0127 /src/primitives | |
| parent | Merge #10447: Make bitcoind invalid argument error message specific (diff) | |
| download | discoin-656dbd871ae5f460c6ae4506376b059ed41fb6bc.tar.xz discoin-656dbd871ae5f460c6ae4506376b059ed41fb6bc.zip | |
Perform member initialization in initialization lists where possible
Diffstat (limited to 'src/primitives')
| -rw-r--r-- | src/primitives/block.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/primitives/block.h b/src/primitives/block.h index 4c6eb20ad..f03cf4850 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -129,10 +129,7 @@ struct CBlockLocator CBlockLocator() {} - CBlockLocator(const std::vector<uint256>& vHaveIn) - { - vHave = vHaveIn; - } + CBlockLocator(const std::vector<uint256>& vHaveIn) : vHave(vHaveIn) {} ADD_SERIALIZE_METHODS; |