Use C++11 thread-safe static initializers

This commit is contained in:
Pieter Wuille
2016-06-07 16:29:03 +02:00
committed by lateminer
parent a1d4facb14
commit 3a1602b31d
4 changed files with 6 additions and 17 deletions

View File

@@ -296,7 +296,7 @@ class SaltedTxidHasher
{
private:
/** Salt */
uint64_t k0, k1;
const uint64_t k0, k1;
public:
SaltedTxidHasher();