Merge pull request #5249

38c62ae Adding const. (sinetek)
pull/5256/head
Pieter Wuille 10 years ago
commit 5406f61373
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657

@ -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