aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-10 04:28:42 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-10 04:29:57 -0800
commit5406f61373fe93326ab1f546e4da9f4528236cc7 (patch)
tree00feaa4eb785f84818512a01ea8d2aaba44eb9e2 /src
parent7b7c86616006a5047ae07085e26c40e3606f60c5 (diff)
parent38c62aec0d21a3f5b76df7ba5aa449dfe3bfa038 (diff)
Merge pull request #5249
38c62ae Adding const. (sinetek)
Diffstat (limited to 'src')
-rw-r--r--src/coincontrol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coincontrol.h b/src/coincontrol.h
index c9057017d8..c8bdd3b39d 100644
--- a/src/coincontrol.h
+++ b/src/coincontrol.h
@@ -35,12 +35,12 @@ public:
return (setSelected.count(outpt) > 0);
}
- void Select(COutPoint& output)
+ void Select(const COutPoint& output)
{
setSelected.insert(output);
}
- void UnSelect(COutPoint& output)
+ void UnSelect(const COutPoint& output)
{
setSelected.erase(output);
}