[ios] Changed block to lambda.

This commit is contained in:
Ilya Grechuhin 2016-07-14 16:30:25 +03:00
parent b8e723ce47
commit 4e21d35a4c

View file

@ -63,7 +63,7 @@ using TObservers = NSHashTable<__kindof TObserver>;
__strong auto self = weakSelf;
if (!self)
return;
runAsyncOnMainQueue(^{
runAsyncOnMainQueue([self, results] {
if (!results.IsEndMarker())
{
self->m_results = results;