Add release function for signal scoped_cookies

This commit is contained in:
Danny Robson 2011-09-16 22:56:52 +10:00
parent 575f87747b
commit d024c588db

View File

@ -64,6 +64,9 @@ namespace util {
void renew (callback_object &&cb) void renew (callback_object &&cb)
{ *m_cookie = std::move (cb); } { *m_cookie = std::move (cb); }
void release (void)
{ m_cookie = m_parent.m_children.end (); }
}; };
public: public: