signal: remove eroneous cookie reset call

This commit is contained in:
Danny Robson 2015-04-07 23:10:49 +10:00
parent ace0fd4a99
commit ec9b8a0c57

View File

@ -34,7 +34,6 @@ namespace util {
~cookie (); ~cookie ();
void reset (callback &&cb); void reset (callback &&cb);
void reset (void);
typename group::iterator m_position; typename group::iterator m_position;
signal<F,C> &m_parent; signal<F,C> &m_parent;
@ -78,15 +77,6 @@ namespace util {
} }
//-------------------------------------------------------------------------
template <typename F, template <typename> class C>
void
signal<F,C>::cookie::reset (void)
{
m_position = m_parent.m_children.end ();
}
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
template <typename F, template <typename> class C> template <typename F, template <typename> class C>
signal<F,C>::signal () signal<F,C>::signal ()