Skip to content

Commit

Permalink
Added a missing semicolon in CaptainHook.h
Browse files Browse the repository at this point in the history
Attempting to use the macro `CHPrimitiveProperty(...)` resulted in a build error because a semicolon was missing in its implementation. This fixes it.
  • Loading branch information
EliaCereda committed Apr 7, 2015
1 parent c214bf0 commit 3c0081b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CaptainHook.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
Expand Down

0 comments on commit 3c0081b

Please sign in to comment.