Update object_slicing_v2.cpp