ollix/MetalNanoVG

block implicitly retains self

wtholliday opened this issue · 3 comments

I'm getting this warning:

nanovg_mtl.m:1387:33: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
      dispatch_semaphore_signal(_semaphore);
                                ^
                                self->

Easy to fix :)

I couldn't reproduce the same warning on Xcode 11 beta 5. What Xcode version do you use?

@olliwang Version 10.3 (10G8)

Thanks. Fixed in d3e0fc6.