HeatbeatProducer and Node are moved on creation #403
Labels
class-requirement
Issue that can be traced back to a design requiement
domain-production
Pertains to the shippable code rather than any scaffolding
priority-low
A minor issue
There are several problems leading to multiple HeartbeatProducer and Node move constructor invocations on startup. The first is returning instances for functions returning variants. Instead the
cetl::pf17::in_place_type
constructors should be used (e.g. node.hpp:60). After this, the heartbeat producer is moved again into the node immediately after it was created. This triggers setting up then tearing down nodes in the AVL graph (i.e. this is not trivial). We need a way to instantiate a node without move-constructing the producers used.The text was updated successfully, but these errors were encountered: