Fix a strict warning (get rid of unneeded override).