Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1191)

Unified Diff: ios/chrome/common/string_util.mm

Issue 2503483002: [ObjC ARC] Converts ios/chrome/common to ARC (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/common/material_timing.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/common/string_util.mm
diff --git a/ios/chrome/common/string_util.mm b/ios/chrome/common/string_util.mm
index 395f66035276d4a244542b05aaa3a9063bc4469f..493a0765d3810140e99d66efbad2e025b726eb06 100644
--- a/ios/chrome/common/string_util.mm
+++ b/ios/chrome/common/string_util.mm
@@ -12,6 +12,10 @@
#include "base/strings/stringprintf.h"
#include "base/strings/sys_string_conversions.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
typedef BOOL (^ArrayFilterProcedure)(id object, NSUInteger index, BOOL* stop);
typedef NSString* (^SubstringExtractionProcedure)(NSUInteger);
« no previous file with comments | « ios/chrome/common/material_timing.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698