From 24483183e727acc8daf490ea9f288ee7546991a6 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Fri, 1 Aug 2014 20:30:07 +0000 Subject: General fixes for GTM. a) only define GTM_IPHONE_USE_SENTEST if it hasn't been defined on Mac. It's a horrible name, but it does control us using SENTEST instead of XCTest. b) Object is now found in the runtime on both iOS and MacOS c) MethodCheck had a potential memory leak DELTA=47 (18 added, 5 deleted, 24 changed) DELTA_BY_EXTENSION=h=30,m=12 --- DebugUtils/GTMMethodCheck.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DebugUtils') diff --git a/DebugUtils/GTMMethodCheck.m b/DebugUtils/GTMMethodCheck.m index c18ada8..09cadc9 100644 --- a/DebugUtils/GTMMethodCheck.m +++ b/DebugUtils/GTMMethodCheck.m @@ -49,8 +49,8 @@ static BOOL ConformsToNSObjectProtocol(Class cls) { || (strcmp(className, "__IncompleteProtocol") == 0) || (strcmp(className, "__ARCLite__") == 0) || (strcmp(className, "WebMIMETypeRegistry") == 0) -#if GTM_IPHONE_SDK || (strcmp(className, "Object") == 0) +#if GTM_IPHONE_SDK || (strcmp(className, "UIKeyboardCandidateUtilities") == 0) || (strcmp(className, "JSExport") == 0) #endif -- cgit v1.2.3