8000 use nullptr · cloud-coders/arangodb@219d884 · GitHub
[go: up one dir, main page]

Skip to content

Commit 219d884

Browse files
committed
use nullptr
1 parent 335029b commit 219d884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arangod/V8Server/v8-query.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static int SetupExampleObject (v8::Handle<v8::Object> const example,
253253

254254
values[i] = TRI_ShapedJsonV8Object(isolate, val, shaper, false);
255255

256-
if (values[i] == 0) {
256+
if (values[i] == nullptr) {
257257
CleanupExampleObject(shaper->_memoryZone, i, pids, values);
258258
return TRI_RESULT_ELEMENT_NOT_FOUND;
259259
}

0 commit comments

Comments
 (0)
0