// when src is const we cannot src.yieldOwnerShip, this is used by copy constructor void SkinInfo::transfer_int_array_data_const(const COLLADAFW::IntValuesArray& src, COLLADAFW::IntValuesArray& dest) { dest.setData((int*)src.getData(), src.getCount()); dest.yieldOwnerShip(); }