Fixed SigPool::del() method
authorClifford Wolf <clifford@clifford.at>
Tue, 6 Aug 2013 13:04:24 +0000 (15:04 +0200)
committerClifford Wolf <clifford@clifford.at>
Tue, 6 Aug 2013 13:04:24 +0000 (15:04 +0200)
kernel/sigtools.h

index 69d6cd72dab1ae53a9695ad94b2c06420a3908de..7f7f95ab6c0fcbcacfd471109015d789377e8dc6 100644 (file)
@@ -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)