FastImageCache icon indicating copy to clipboard operation
FastImageCache copied to clipboard

Fix deprecation

Open PadraigK opened this issue 7 years ago • 0 comments

OSAtomicAdd32 is deprecated since 2016 and atomic_fetch_add_explicit is recommended as the alternative.

See more details here: https://forums.developer.apple.com/thread/62765

Note that with atomic_fetch_add_explicit, the return value is the value before addition, unlike OSAtomicAdd32 which returned the value after addition.

PadraigK avatar Sep 07 '18 20:09 PadraigK