clang-tidy: Fix modernize-use-default-member-init in headers

See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
This commit is contained in:
Hennadii Stepanov
2023-01-31 11:50:10 +00:00
parent 357d750cab
commit 96ee992ac3
33 changed files with 69 additions and 73 deletions

View File

@@ -71,13 +71,13 @@ private:
DataStream ssKey{};
CDataStream ssValue;
size_t size_estimate;
size_t size_estimate{0};
public:
/**
* @param[in] _parent CDBWrapper that this batch is to be submitted to
*/
explicit CDBBatch(const CDBWrapper& _parent) : parent(_parent), ssValue(SER_DISK, CLIENT_VERSION), size_estimate(0){};
explicit CDBBatch(const CDBWrapper& _parent) : parent(_parent), ssValue(SER_DISK, CLIENT_VERSION){};
void Clear()
{