Changed nullptr to NULL