mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Remove redundant superclass instantiation in loopback_internal.cpp
Signed-off-by: pipeacosta <pipeacosta@gmail.com>
This commit is contained in:
parent
73ff061ca8
commit
c70cc06df1
1 changed files with 1 additions and 2 deletions
|
@ -23,13 +23,12 @@ InternalLoopbackNode::InternalLoopbackNode(Node *src, unsigned id, unsigned ql)
|
|||
: queuelen(ql), source(src) {
|
||||
auto name = fmt::format("{}.lo{}", src->getNameShort(), id);
|
||||
|
||||
uuid_t uuid;
|
||||
int ret =
|
||||
uuid::generateFromString(uuid, fmt::format("lo{}", id), src->getUuid());
|
||||
if (ret)
|
||||
throw RuntimeError("Failed to initialize UUID");
|
||||
|
||||
Node(uuid, name);
|
||||
name_short = name;
|
||||
|
||||
factory = &nf;
|
||||
name_long = fmt::format(CLR_RED("{}") "(" CLR_YEL("{}") ")", name_short,
|
||||
|
|
Loading…
Add table
Reference in a new issue