diff options
| author | Pieter Wuille <[email protected]> | 2014-11-10 04:28:42 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-11-10 04:29:57 -0800 |
| commit | 5406f61373fe93326ab1f546e4da9f4528236cc7 (patch) | |
| tree | 00feaa4eb785f84818512a01ea8d2aaba44eb9e2 /src | |
| parent | Merge pull request #5210 (diff) | |
| parent | Adding const. (diff) | |
| download | discoin-5406f61373fe93326ab1f546e4da9f4528236cc7.tar.xz discoin-5406f61373fe93326ab1f546e4da9f4528236cc7.zip | |
Merge pull request #5249
38c62ae Adding const. (sinetek)
Diffstat (limited to 'src')
| -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 c9057017d..c8bdd3b39 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); } |