Use make_shared.