Perform member initialization in initialization lists where possible

This commit is contained in:
practicalswift
2017-06-04 01:09:48 +02:00
parent f259263a7b
commit 656dbd871a
4 changed files with 4 additions and 14 deletions

View File

@@ -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;