File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ void StatementSync::Iterate(const FunctionCallbackInfo<Value>& args) {
545545
546546 v8::Local<v8::FunctionTemplate> iteratorFuncTemplate = v8::FunctionTemplate::New (isolate, IteratorFunc);
547547 iterableIteratorTemplate->Set (String::NewFromUtf8Literal (isolate, " next" ), nextFuncTemplate);
548- iterableIteratorTemplate->Set (v8::Symbol::GetIterator (isolate), iteratorFuncTemplate-> GetFunction (context). ToLocalChecked () );
548+ iterableIteratorTemplate->Set (v8::Symbol::GetIterator (isolate), iteratorFuncTemplate);
549549
550550 v8::Local<v8::Value> iteratorPrototype = context->Global ()->Get (context, String::NewFromUtf8Literal (isolate, " Iterator.prototype" )).ToLocalChecked ();
551551 v8::Local<v8::Object> iterableIterator = iterableIteratorTemplate->NewInstance (context).ToLocalChecked ();
You can’t perform that action at this time.
0 commit comments