Skip to content

MultiComponentStateAssembler : Unique ptr, move semantics, avoid a clone

Mentioning @amorley

  • Moving a couple of ptr to unique ptr
  • This then leads to passing r-value reference (i.e "std::move") to functions
  • Use "emplace_back"

Avoids one cloning situation and adds a bit of clarity on ownership

Merge request reports