summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-08-06 15:04:24 +0200
committerClifford Wolf <clifford@clifford.at>2013-08-06 15:04:24 +0200
commit117489f95ac70632897a7048705923353bba0447 (patch)
tree743bb934af40b25671fd6a21d5ca818c2f73179f /kernel
parentff965424c2bc82cba4380a785b1a22c3249686fd (diff)
Fixed SigPool::del() method
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sigtools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sigtools.h b/kernel/sigtools.h
index 69d6cd72..7f7f95ab 100644
--- a/kernel/sigtools.h
+++ b/kernel/sigtools.h
@@ -68,7 +68,7 @@ struct SigPool
void del(const SigPool &other)
{
for (auto &bit : other.bits)
- bits.insert(bit);
+ bits.erase(bit);
}
void expand(RTLIL::SigSpec from, RTLIL::SigSpec to)