ATLASRECTS-7672 : Manage the memory ownership via unique_ptr to avoid leaks
ATLASRECTS-7672 : Manage the memory ownership via unique_ptr to avoid leaks
We manage ownership using a vector of unique_ptr TParamOwner
.
So we know things will be cleaned up on exit. We do not need to remember to do loops deleting if an error occurs.
Since the interface called needs a vector of plain ptr we also keep around the tmpInputC
But it does not hold owning ptr anymore just "view" of what is in the owning vector.
ping @amete
Edited by Christos Anastopoulos