mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-04 11:50:38 +00:00
Fix compiler error in ASLocking #trivial (#1079)
This commit is contained in:
parent
2e95f5503e
commit
31cb65b38a
@ -107,7 +107,7 @@ NS_INLINE void ASUnlockSet(ASLockSet *lockSet) {
|
||||
*/
|
||||
NS_INLINE ASLockSet ASLockSequence(NS_NOESCAPE ASLockSequenceBlock body)
|
||||
{
|
||||
__block ASLockSet locks = (ASLockSet){0};
|
||||
__block ASLockSet locks = (ASLockSet){0, {}};
|
||||
BOOL (^addLock)(id<ASLocking>) = ^(id<ASLocking> obj) {
|
||||
|
||||
// nil lock = ignore.
|
||||
|
Loading…
x
Reference in New Issue
Block a user