From a285e7d0af4eecb7400bdc633c703b34a82596b5 Mon Sep 17 00:00:00 2001 From: Jordan Rose <jordan_rose@apple.com> Date: Thu, 6 Sep 2012 02:19:13 +0000 Subject: [PATCH] Fix a mistake in an HTML example code snippet. Caught by Kurt Arnlund! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163286 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ObjectiveCLiterals.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ObjectiveCLiterals.html b/docs/ObjectiveCLiterals.html index 11751a6acda..d5a8a9eca0c 100644 --- a/docs/ObjectiveCLiterals.html +++ b/docs/ObjectiveCLiterals.html @@ -178,7 +178,7 @@ A C string literal prefixed by the <code>'@'</code> token denotes an <code>NSStr <pre> // Partition command line arguments into positional and option arguments. NSMutableArray *args = [NSMutableArray new]; -NSMutableDictionary *options = [NSMutableArray new]; +NSMutableDictionary *options = [NSMutableDictionary new]; while (--argc) { const char *arg = *++argv; if (strncmp(arg, "--", 2) == 0) { -- GitLab