aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-06-07 16:29:03 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-06-07 16:29:03 +0200
commit888483098e60f2a944f1d246bbfec4d14a2975f8 (patch)
tree3c1ebad509c274f0bdedbc9193aef45aefb1e104 /src/coins.h
parentc31b24f745a84669f2af729052da7fd7ed2da868 (diff)
Use C++11 thread-safe static initializers
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coins.h b/src/coins.h
index 1dd908700b..033651a435 100644
--- a/src/coins.h
+++ b/src/coins.h
@@ -269,7 +269,7 @@ class SaltedTxidHasher
{
private:
/** Salt */
- uint64_t k0, k1;
+ const uint64_t k0, k1;
public:
SaltedTxidHasher();