Replaces all NULL with nullptr