From 3c0081b70b491f5cc076a806db5c34444aaa55bf Mon Sep 17 00:00:00 2001 From: Elia Cereda Date: Tue, 7 Apr 2015 14:44:41 +0200 Subject: [PATCH] Added a missing semicolon in CaptainHook.h Attempting to use the macro `CHPrimitiveProperty(...)` resulted in a build error because a semicolon was missing in its implementation. This fixes it. --- CaptainHook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CaptainHook.h b/CaptainHook.h index 404d11d..64b7c49 100755 --- a/CaptainHook.h +++ b/CaptainHook.h @@ -699,7 +699,7 @@ static void *CHIvar_(id object, const char *name) #define CHPrimitiveProperty(class, type, getter, setter, default) \ CHDeclareProperty(class, getter) \ CHOptimizedMethod0(new, type, class, getter) { \ - CHPrimitivePropertyGetValue( class , getter , type , val , default ) \ + CHPrimitivePropertyGetValue( class , getter , type , val , default ); \ return val; \ } \ CHOptimizedMethod1(new, void, class, setter, type, getter) { \