mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
This commit is contained in:
parent
0aafb47dd2
commit
09c1e01f6f
3 changed files with 9 additions and 6 deletions
|
@ -313,7 +313,6 @@ std::string MappingEntry::toString(unsigned index) const
|
|||
return ss.str();
|
||||
}
|
||||
|
||||
|
||||
Signal::Ptr MappingEntry::toSignal(unsigned index) const
|
||||
{
|
||||
auto name = toString(index);
|
||||
|
|
|
@ -87,7 +87,7 @@ void * Path::runPoll()
|
|||
if (ret < 0)
|
||||
throw SystemError("Failed to poll");
|
||||
|
||||
logger->debug("returned from poll(2): ret={}", ret);
|
||||
logger->debug("Returned from poll(2): ret={}", ret);
|
||||
|
||||
for (unsigned i = 0; i < pfds.size(); i++) {
|
||||
auto &pfd = pfds[i];
|
||||
|
|
|
@ -269,8 +269,10 @@ void SuperNode::startNodes()
|
|||
void SuperNode::startPaths()
|
||||
{
|
||||
for (auto *p : paths) {
|
||||
if (p->isEnabled())
|
||||
p->start();
|
||||
if (!p->isEnabled())
|
||||
continue;
|
||||
|
||||
p->start();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -291,8 +293,10 @@ void SuperNode::prepareNodes()
|
|||
void SuperNode::preparePaths()
|
||||
{
|
||||
for (auto *p : paths) {
|
||||
if (p->isEnabled())
|
||||
p->prepare(nodes);
|
||||
if (!p->isEnabled())
|
||||
continue;
|
||||
|
||||
p->prepare(nodes);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue