Replace NULL with nullptr
This commit is contained in:
@@ -233,7 +233,7 @@ Transform2D CollisionObject2D::shape_owner_get_transform(uint32_t p_owner) const
|
||||
|
||||
Object *CollisionObject2D::shape_owner_get_owner(uint32_t p_owner) const {
|
||||
|
||||
ERR_FAIL_COND_V(!shapes.has(p_owner), NULL);
|
||||
ERR_FAIL_COND_V(!shapes.has(p_owner), nullptr);
|
||||
|
||||
return shapes[p_owner].owner;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user