-
galoonson [or any other cluful],
m_connected_slots.erase(iterator(it++)); //@_@
Is the iterator copy ctor necessary? Erase accepts iterators by value, so makes a copy anyway.
m_connected_slots.erase(it++); //@_@
should do the same, right?
Marc.
2008-01-15 14:34:04 UTC in C++ Signal/Slot Library (sigslot)
-
galoonson [or any other cluful],
m_connected_slots.erase(iterator(it++)); //@_@
Is the iterator copy ctor necessary? Erase accepts iterators by value, so makes a copy anyway.
m_connected_slots.erase(it++); //@_@
should do the same, right?
Marc.
2008-01-15 11:16:23 UTC in C++ Signal/Slot Library (sigslot)