mirror of https://gitee.com/bigwinds/arangodb
fix compile errors
This commit is contained in:
parent
dea26c02a9
commit
c44a5c38a8
|
@ -318,7 +318,7 @@ class V8Completer : public Completer {
|
|||
v8::Handle<v8::Value> args[] = {};
|
||||
|
||||
try {
|
||||
v8::Handle<v8::Value> cpls = func->Call(current, 0, &args);
|
||||
v8::Handle<v8::Value> cpls = func->Call(current, 0, args);
|
||||
|
||||
if (cpls->IsArray()) {
|
||||
properties = v8::Handle<v8::Array>::Cast(cpls);
|
||||
|
|
|
@ -410,7 +410,7 @@ static int V8ToVPack(BuilderContext& context,
|
|||
v8::Handle<v8::Function>::Cast(func);
|
||||
|
||||
v8::Handle<v8::Value> args[] = {};
|
||||
v8::Handle<v8::Value> converted = toJson->Call(o, 0, &args);
|
||||
v8::Handle<v8::Value> converted = toJson->Call(o, 0, args);
|
||||
|
||||
if (!converted.IsEmpty()) {
|
||||
// return whatever toJSON returned
|
||||
|
|
Loading…
Reference in New Issue