mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -87,7 +87,7 @@ struct Region3dPtrVolumeComparator
|
||||
|
||||
ScriptParams *ScriptMethodsRegion3dNamespace::convertRegionDictionaryToScriptParams(jobject regionDictionary)
|
||||
{
|
||||
// If we're passed a null dictionary, we just don't have any extra data but
|
||||
// If we're passed a nullptr dictionary, we just don't have any extra data but
|
||||
// we still want to return a ScriptParams to fill in the standard values.
|
||||
if (!regionDictionary)
|
||||
return new ScriptParams;
|
||||
|
||||
Reference in New Issue
Block a user