File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,7 +313,6 @@ std::string MappingEntry::toString(unsigned index) const
313313 return ss.str ();
314314}
315315
316-
317316Signal::Ptr MappingEntry::toSignal (unsigned index) const
318317{
319318 auto name = toString (index);
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ void * Path::runPoll()
8787 if (ret < 0 )
8888 throw SystemError (" Failed to poll" );
8989
90- logger->debug (" returned from poll(2): ret={}" , ret);
90+ logger->debug (" Returned from poll(2): ret={}" , ret);
9191
9292 for (unsigned i = 0 ; i < pfds.size (); i++) {
9393 auto &pfd = pfds[i];
Original file line number Diff line number Diff line change @@ -269,8 +269,10 @@ void SuperNode::startNodes()
269269void SuperNode::startPaths ()
270270{
271271 for (auto *p : paths) {
272- if (p->isEnabled ())
273- p->start ();
272+ if (!p->isEnabled ())
273+ continue ;
274+
275+ p->start ();
274276 }
275277}
276278
@@ -291,8 +293,10 @@ void SuperNode::prepareNodes()
291293void SuperNode::preparePaths ()
292294{
293295 for (auto *p : paths) {
294- if (p->isEnabled ())
295- p->prepare (nodes);
296+ if (!p->isEnabled ())
297+ continue ;
298+
299+ p->prepare (nodes);
296300 }
297301}
298302
You can’t perform that action at this time.
0 commit comments