Skip to content

Commit

Permalink
[stdcxx] init the collection, thx for @foundkey commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpews committed Dec 23, 2019
1 parent 3da82c8 commit 27093b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/stdcxx/LiteIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bool LiteCollectionIterator::initWithCollection(const LiteCollection *inCollecti
innerIterator = 0;
int *iterIndexPtr = (int *)LiteMemOpt::alloc(sizeof(int));
innerIterator = (void *)iterIndexPtr;
inCollection->initIterator(innerIterator);
return true;
}

Expand Down

0 comments on commit 27093b4

Please sign in to comment.