aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-03 12:01:58 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-03 12:01:58 +0200
commitcd7c1264bf8e3ad927facbecfaabdf9432000ab3 (patch)
tree777ac6e5172a89729f79271aea18d004a4d2b190 /src
parent631cedb58c67b3eb18121e872fcd8d5fcc3831e1 (diff)
parent9c21758bb73f18cf8f6a3f61f426af8bde00964a (diff)
downloadglutin-cd7c1264bf8e3ad927facbecfaabdf9432000ab3.tar.gz
glutin-cd7c1264bf8e3ad927facbecfaabdf9432000ab3.zip
Merge pull request #352 from SSheldon/stable_rust
Update OSX to compile on stable rust
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;
- }
}