Make switch to std::shared_ptr easier

7 jobs for pr/87 in 3 minutes and 56 seconds (queued for 2 seconds)