mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[Infer] Fix Infer errors/warnings (#1938)
* [Infer] Fix 11 Infer errors/warnings * fix build error
This commit is contained in:
@@ -75,7 +75,9 @@
|
||||
NSTextContainer *))block
|
||||
{
|
||||
std::lock_guard<std::mutex> l(_textKitMutex);
|
||||
block(_layoutManager, _textStorage, _textContainer);
|
||||
if (block) {
|
||||
block(_layoutManager, _textStorage, _textContainer);
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user