Refactor.

This commit is contained in:
Sandu Liviu Catalin committed 2020-04-27 13:53:16 +03:00
1 parent 22a17fe3c4
commit b86c4cea2b
9 files changed
+60 -169

No files matched your search

+1 -1
View File
@@ -661,7 +661,7 @@ Int32 SQLiteConnHnd::Flush(Uint32 num, Object & env, Function & func)
num = mQueue.size();
}
// Generate the function that should be called upon error
Function callback = Function(env.GetVM(), env.GetObj(), func.GetFunc());
Function callback = Function(env.GetObj(), func.GetFunc(), env.GetVM());
// Obtain iterators to the range of queries that should be flushed
auto itr = mQueue.begin();
auto end = mQueue.begin() + num;