csharp: Using Count eina_promises.
Summary: ref T8422 Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8422 Differential Revision: https://phab.enlightenment.org/D10498
This commit is contained in:
parent
827a301131
commit
68eefe1872
|
@ -380,11 +380,11 @@ public class Future
|
|||
{
|
||||
SanityChecks();
|
||||
System.Collections.Generic.IList<ResolvedCb> cbsList = cbs.ToList();
|
||||
FutureDesc[] descs = new FutureDesc[cbsList.Count() + 1]; // +1 due to the null-cb terminating descriptor.
|
||||
FutureDesc[] descs = new FutureDesc[cbsList.Count + 1]; // +1 due to the null-cb terminating descriptor.
|
||||
int i = 0;
|
||||
try
|
||||
{
|
||||
for (; i < cbsList.Count(); i++)
|
||||
for (; i < cbsList.Count; i++)
|
||||
{
|
||||
ResolvedCb cb = cbsList[i];
|
||||
descs[i].cb = NativeResolvedCbDelegate;
|
||||
|
|
Loading…
Reference in New Issue