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

node: remove brackets on ternary operator

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
Niklas Eiling 2024-06-05 17:48:30 +02:00 committed by pipeacosta
parent 4224b49eba
commit 50dccc1269

View file

@ -336,8 +336,8 @@ int Node::write(struct Sample *smps[], unsigned cnt) {
const std::string &Node::getNameFull() {
if (name_full.empty()) {
auto is1 = (getInputSignals(false) ? getInputSignals(false)->size() : 0);
auto is2 = (getInputSignals(true) ? getInputSignals(true)->size() : 0);
auto is1 = getInputSignals(false) ? getInputSignals(false)->size() : 0;
auto is2 = getInputSignals(true) ? getInputSignals(true)->size() : 0;
name_full = fmt::format("{}: uuid={}, #in.signals={}/{}, #in.hooks={}, "
"#out.hooks={}, in.vectorize={}, out.vectorize={}",
getName(), uuid::toString(uuid).c_str(), is1, is2,