mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
Adding const.
This commit is contained in:
parent
d064f7f3ee
commit
38c62aec0d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue