From 38c62aec0d21a3f5b76df7ba5aa449dfe3bfa038 Mon Sep 17 00:00:00 2001 From: sinetek Date: Sat, 8 Nov 2014 18:09:06 -0500 Subject: [PATCH] Adding const. --- src/coincontrol.h | 4 ++-- 1 file 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); }