Skip to content
Snippets Groups Projects
Commit 43d870a2 authored by Philippe Canal's avatar Philippe Canal
Browse files

Fix array initialization

parent b6523df2
No related branches found
No related tags found
No related merge requests found
......@@ -32,13 +32,10 @@ public:
class HashValue {
friend std::ostream &operator<<(std::ostream &os, const RConcurrentHashColl::HashValue &h);
private:
ULong64_t fDigest[4];
ULong64_t fDigest[4] = {0, 0, 0, 0};
public:
HashValue() {
for(auto d : fDigest)
d = 0;
}
HashValue() = default;
HashValue(const char *data, int len);
ULong64_t const *Get() const { return fDigest; }
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment