Make reset_ptr() void.