summaryrefslogtreecommitdiffstats
path: root/macosx/NSCodingMacro.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-03-17 13:56:21 +0000
committerritsuka <[email protected]>2015-03-17 13:56:21 +0000
commit48a9e546878ae074202e0301f428193b7915d68f (patch)
treecf3f0f270fc8c7430dec870e954c826926c02a60 /macosx/NSCodingMacro.h
parent220bd888e05696acbe1dd47f96ded78c389fc27f (diff)
MacGui: convert the mac gui to Objective-C ARC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/NSCodingMacro.h')
-rw-r--r--macosx/NSCodingMacro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/NSCodingMacro.h b/macosx/NSCodingMacro.h
index 842da1121..7cfbfc755 100644
--- a/macosx/NSCodingMacro.h
+++ b/macosx/NSCodingMacro.h
@@ -18,6 +18,6 @@
#define decodeInteger(x) x = [decoder decodeIntegerForKey:OBJC_STRINGIFY(x)]
#define decodeBool(x) x = [decoder decodeBoolForKey:OBJC_STRINGIFY(x)]
#define decodeDouble(x) x = [decoder decodeDoubleForKey:OBJC_STRINGIFY(x)]
-#define decodeObject(x) x = [[decoder decodeObjectForKey:OBJC_STRINGIFY(x)] retain]
+#define decodeObject(x) x = [decoder decodeObjectForKey:OBJC_STRINGIFY(x)]
#endif