diff options
author | sinetek <pitwuu@gmail.com> | 2014-11-08 18:09:06 -0500 |
---|---|---|
committer | sinetek <pitwuu@gmail.com> | 2014-11-08 18:09:06 -0500 |
commit | 38c62aec0d21a3f5b76df7ba5aa449dfe3bfa038 (patch) | |
tree | 7c4be628ebb40dca0141577920d9f8ec0eeef075 /src/coincontrol.h | |
parent | d064f7f3ee1b80c7e9ca1f149cae8aca4a071230 (diff) |
Adding const.
Diffstat (limited to 'src/coincontrol.h')
-rw-r--r-- | src/coincontrol.h | 4 |
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); } |