Allow signal scoped_cookies to assign functors

This commit is contained in:
Danny Robson 2011-08-12 00:26:28 +10:00
parent caa1f3312b
commit 955b97c73e

View File

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