Global: replaces NULL to nullptr
This commit is contained in:
1 parent
873454191f
commit
ba18705d2e
387 files changed
+2411
-2411
No files matched your search
@@ -9,7 +9,7 @@
|
||||
const char* ffOptionsParseGeneralJsonConfig(FFOptionsGeneral* options, yyjson_val* root, yyjson_val** pkey) {
|
||||
yyjson_val* object = yyjson_obj_get(root, "general");
|
||||
if (!object) {
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
if (!yyjson_is_obj(object)) {
|
||||
return "Property 'general' must be an object";
|
||||
@@ -60,7 +60,7 @@ const char* ffOptionsParseGeneralJsonConfig(FFOptionsGeneral* options, yyjson_va
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool ffOptionsParseGeneralCommandLine(FFOptionsGeneral* options, const char* key, const char* value) {
|
||||
|
||||
Reference in new issue
Block a user