From 42124b3691197c3c4f52f069775fa0390a8ff942 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Fri, 7 Oct 2016 12:10:23 -0400 Subject: First cut at pruning things/updating things. Remove a bunch of code that Google stopped using/maintaining rather than trying to update it it. Some would be hard to update, some actually has system provided replacements; others are patterns that just don't seem as common now. Prune out the code related to macOS <= 10.5, start pruning some of the really old iOS support also. Get the projects mostly limping again with modern Xcodes so tests can be run. If someone ends up on this commit via history for something they still find as useful, feel free to do a pull request to bring the snippet of code back to life and update it for current SDKs. --- Foundation/GTMLogger.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Foundation/GTMLogger.m') diff --git a/Foundation/GTMLogger.m b/Foundation/GTMLogger.m index 3ace20f..e6b2ba1 100644 --- a/Foundation/GTMLogger.m +++ b/Foundation/GTMLogger.m @@ -367,7 +367,7 @@ static GTMLogger *gSharedLogger = nil; - (void)logMessage:(NSString *)msg level:(GTMLoggerLevel)level { @synchronized(self) { id child = nil; - GTM_FOREACH_OBJECT(child, self) { + for (child in self) { if ([child conformsToProtocol:@protocol(GTMLogWriter)]) [child logMessage:msg level:level]; } -- cgit v1.2.3