Modify Slicing.cpp

  So it can compile