Browse Source

Adding const.

0.10
sinetek 10 years ago
parent
commit
38c62aec0d
  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