Browse Source

Merge pull request #5249

38c62ae Adding const. (sinetek)
0.10
Pieter Wuille 10 years ago
parent
commit
5406f61373
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657
  1. 4
      src/coincontrol.h

4
src/coincontrol.h

@ -35,12 +35,12 @@ public:
return (setSelected.count(outpt) > 0); return (setSelected.count(outpt) > 0);
} }
void Select(COutPoint& output) void Select(const COutPoint& output)
{ {
setSelected.insert(output); setSelected.insert(output);
} }
void UnSelect(COutPoint& output) void UnSelect(const COutPoint& output)
{ {
setSelected.erase(output); setSelected.erase(output);
} }

Loading…
Cancel
Save