mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -311,7 +311,7 @@ inline const stdvector<const Vector *>::fwd & ScriptParams::getLocationArrayPara
|
||||
|
||||
inline const NetworkId & ScriptParams::getObjIdParam(int index) const
|
||||
{
|
||||
if (m_params[index].m_param.oidParam != NULL)
|
||||
if (m_params[index].m_param.oidParam != nullptr)
|
||||
return *m_params[index].m_param.oidParam;
|
||||
return NetworkId::cms_invalid;
|
||||
} // ScriptParams::getObjIdParam
|
||||
|
||||
Reference in New Issue
Block a user