Fix CID 338448: Uninitialized scalar field (UNINIT_CTOR)
member_not_init_in_gen_ctor: The compiler-generated constructor for this class does not initialize key
This commit is contained in:
parent
b669434942
commit
0dbcd2a49e
|
@ -56,7 +56,7 @@ namespace CTSL // Concurrent Thread Safe Library
|
||||||
HashNode *next; // Pointer to the next node in the same bucket
|
HashNode *next; // Pointer to the next node in the same bucket
|
||||||
#endif
|
#endif
|
||||||
private:
|
private:
|
||||||
K key; // the key key
|
K key {0}; // the key key
|
||||||
V value; // the value corresponding to the key
|
V value; // the value corresponding to the key
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue