Removed unstable clone_from method so OSX can compile.

This commit is contained in:
Steven Sheldon 2015-04-03 02:30:29 -07:00
parent 631cedb58c
commit a65a4fd15a

View file

@ -719,15 +719,5 @@ impl Clone for IdRef {
}
IdRef(self.0)
}
fn clone_from(&mut self, source: &IdRef) {
if source.0 != nil {
let _: id = unsafe { msg_send![source.0, retain] };
}
if self.0 != nil {
let _: () = unsafe { msg_send![self.0, release] };
}
self.0 = source.0;
}
}