Add empty query for signals
This commit is contained in:
parent
9b049861f1
commit
ec5e9f6c87
@ -66,6 +66,11 @@ namespace util {
|
||||
unsigned int size (void) const
|
||||
{ return m_children.size (); }
|
||||
|
||||
|
||||
bool empty (void) const
|
||||
{ return m_children.empty (); }
|
||||
|
||||
|
||||
/// Execute all callbacks, ignoring the return parameters. Does not combine results.
|
||||
void operator () (Args... tail) {
|
||||
for (auto i = m_children.begin (), end = m_children.end (); i != end; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user