From ff5e6945e30cc36b67f2403bca0c70a57e8437a8 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 8 Aug 2017 13:55:20 +1000 Subject: [PATCH] signal: remove unused code --- signal.ipp | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/signal.ipp b/signal.ipp index 56f4e5e5..73cdef12 100644 --- a/signal.ipp +++ b/signal.ipp @@ -165,20 +165,12 @@ namespace util { if (m_children.empty ()) return R(); - //auto i = m_children.cbegin (); - //bool looping; - C combiner; - return combiner (m_children.begin (), m_children.end (), std::forward (tail)...); - - //do { - // // Increment before we execute so that the caller is able to - // // deregister themselves during execution. - // auto current = i++; - // looping = m_children.cend () != i; - - // (*current)(std::forward (tail)...); - //} while (looping); + return combiner ( + m_children.begin (), + m_children.end (), + std::forward (tail)... + ); }