aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Sheldon <steven@sasheldon.com>2015-04-03 02:30:29 -0700
committerSteven Sheldon <steven@sasheldon.com>2015-04-03 02:30:29 -0700
commita65a4fd15a3d9736cd9842b4fe3ea8c944188557 (patch)
tree6abf9fb09082fa357cae1663d8c9ba9ea31c9a02 /src
parent631cedb58c67b3eb18121e872fcd8d5fcc3831e1 (diff)
downloadglutin-a65a4fd15a3d9736cd9842b4fe3ea8c944188557.tar.gz
glutin-a65a4fd15a3d9736cd9842b4fe3ea8c944188557.zip
Removed unstable clone_from method so OSX can compile.
Diffstat (limited to 'src')
-rw-r--r--src/cocoa/mod.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cocoa/mod.rs b/src/cocoa/mod.rs
index e756aba..ca9d888 100644
--- a/src/cocoa/mod.rs
+++ b/src/cocoa/mod.rs
@@ -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;
- }
}