diff --git a/2013-07-07-low-level-concurrency-apis.md b/2013-07-07-low-level-concurrency-apis.md index 3ac11bd..b7e23fc 100644 --- a/2013-07-07-low-level-concurrency-apis.md +++ b/2013-07-07-low-level-concurrency-apis.md @@ -728,7 +728,7 @@ Here's an example for OSSpinLock: - (NSDictionary *)amountAttributes; { if (_amountAttributes == nil) { - static __weak NSDictionary *cachedAttributes = nil; + static NSDictionary * __weak cachedAttributes = nil; static OSSpinLock lock = OS_SPINLOCK_INIT; OSSpinLockLock(&lock); _amountAttributes = cachedAttributes;