1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

make compatible to fmt version 9.0.3 review fixes

Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
This commit is contained in:
Manuel Pitz 2023-01-10 16:41:58 +01:00
parent cf04f6b569
commit 48b98c195c
5 changed files with 8 additions and 8 deletions

View file

@ -290,7 +290,7 @@ void Path::prepare(NodeList &nodes)
ret = pd->prepare(queuelen);
if (ret)
throw RuntimeError("Failed to prepare path destination {} of path {}", (pd->node)->getName(), this->toString());
throw RuntimeError("Failed to prepare path destination {} of path {}", pd->node->getName(), this->toString());
}
/* Autodetect whether to use original sequence numbers or not */

View file

@ -235,7 +235,7 @@ void SuperNode::prepareNodeTypes()
ret = nf->start(this);
if (ret)
throw RuntimeError("Failed to start node-type: {}", (n->getFactory())->getName());
throw RuntimeError("Failed to start node-type: {}", n->getFactory()->getName());
}
}
@ -383,7 +383,7 @@ void SuperNode::stopNodeTypes()
ret = nf->stop();
if (ret)
throw RuntimeError("Failed to stop node-type: {}", (n->getFactory())->getName());
throw RuntimeError("Failed to stop node-type: {}", n->getFactory()->getName());
}
}
@ -508,7 +508,7 @@ graph_t * SuperNode::getGraph()
uuid_unparse(n->getUuid(), uuid_str);
set_attr(nodeMap[n], "shape", "ellipse");
set_attr(nodeMap[n], "tooltip", fmt::format("type={}, uuid={}", (n->getFactory())->getName(), uuid_str));
set_attr(nodeMap[n], "tooltip", fmt::format("type={}, uuid={}", n->getFactory()->getName(), uuid_str));
// set_attr(nodeMap[n], "fixedsize", "true");
// set_attr(nodeMap[n], "width", "0.15");
// set_attr(nodeMap[n], "height", "0.15");

View file

@ -452,7 +452,7 @@ check: if (optarg == endptr)
ret = node->getFactory()->start(&sn);
if (ret)
throw RuntimeError("Failed to intialize node type {}: reason={}", (node->getFactory())->getName(), ret);
throw RuntimeError("Failed to intialize node type {}: reason={}", node->getFactory()->getName(), ret);
sn.startInterfaces();

View file

@ -304,7 +304,7 @@ out: sample_decref(t);
ret = node->getFactory()->stop();
if (ret)
throw RuntimeError("Failed to de-intialize node type {}: reason={}", (node->getFactory())->getName(), ret);
throw RuntimeError("Failed to de-intialize node type {}: reason={}", node->getFactory()->getName(), ret);
delete node;
delete formatter;

View file

@ -175,7 +175,7 @@ check: if (optarg == endptr)
ret = node->getFactory()->start(&sn);
if (ret)
throw RuntimeError("Failed to start node-type {}: reason={}", (node->getFactory())->getName(), ret);
throw RuntimeError("Failed to start node-type {}: reason={}", node->getFactory()->getName(), ret);
ret = node->prepare();
if (ret)
@ -229,7 +229,7 @@ check: if (optarg == endptr)
ret = node->getFactory()->stop();
if (ret)
throw RuntimeError("Failed to stop node-type {}: reason={}", (node->getFactory())->getName(), ret);
throw RuntimeError("Failed to stop node-type {}: reason={}", node->getFactory()->getName(), ret);
delete smp_send;
delete smp_recv;