1
0
Fork 0

use nullptr

This commit is contained in:
Jan Steemann 2015-04-03 14:59:49 +02:00
parent 37e0233d10
commit 20a4299d0d
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ static int SetupExampleObject (v8::Handle<v8::Object> const example,
values[i] = TRI_ShapedJsonV8Object(isolate, val, shaper, false);
if (values[i] == 0) {
if (values[i] == nullptr) {
CleanupExampleObject(shaper->_memoryZone, i, pids, values);
return TRI_RESULT_ELEMENT_NOT_FOUND;
}