aboutsummaryrefslogtreecommitdiff
path: root/src/script/sigcache.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 00:14:17 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 00:22:40 +0000
commit12dcdaaa54b9a4c55384e6b04379da8125fa6e7d (patch)
treebf2c64baa3c7642c7b5a716ba788936b22e6f447 /src/script/sigcache.cpp
parentf35e4d906fee907f28ac5d8f32d4948e6b7b14c3 (diff)
Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const
Diffstat (limited to 'src/script/sigcache.cpp')
-rw-r--r--src/script/sigcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sigcache.cpp b/src/script/sigcache.cpp
index c1786140de..582341bd3e 100644
--- a/src/script/sigcache.cpp
+++ b/src/script/sigcache.cpp
@@ -66,7 +66,7 @@ public:
return setValid.contains(entry, erase);
}
- void Set(uint256& entry)
+ void Set(const uint256& entry)
{
boost::unique_lock<boost::shared_mutex> lock(cs_sigcache);
setValid.insert(entry);