Using shared_ptr instead of unique_ptr and cloning
Using shared_ptr instead of unique_ptr and cloning. Trying to avoid unnecessary cloning and memory allocation operation.
Using shared_ptr instead of unique_ptr and cloning. Trying to avoid unnecessary cloning and memory allocation operation.