Allow signal scoped_cookies to assign functors
This commit is contained in:
parent
caa1f3312b
commit
955b97c73e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user