aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinetek <pitwuu@gmail.com>2014-11-08 18:09:06 -0500
committersinetek <pitwuu@gmail.com>2014-11-08 18:09:06 -0500
commit38c62aec0d21a3f5b76df7ba5aa449dfe3bfa038 (patch)
tree7c4be628ebb40dca0141577920d9f8ec0eeef075
parentd064f7f3ee1b80c7e9ca1f149cae8aca4a071230 (diff)
Adding const.
-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);
}