signal: remove unused code

This commit is contained in:
Danny Robson 2017-08-08 13:55:20 +10:00
parent 6ecab5b6d0
commit ff5e6945e3

View File

@ -165,20 +165,12 @@ namespace util {
if (m_children.empty ()) if (m_children.empty ())
return R(); return R();
//auto i = m_children.cbegin ();
//bool looping;
C<F> combiner; C<F> combiner;
return combiner (m_children.begin (), m_children.end (), std::forward<Args> (tail)...); return combiner (
m_children.begin (),
//do { m_children.end (),
// // Increment before we execute so that the caller is able to std::forward<Args> (tail)...
// // deregister themselves during execution. );
// auto current = i++;
// looping = m_children.cend () != i;
// (*current)(std::forward<Args> (tail)...);
//} while (looping);
} }