Fix an [-Werror,-Winconsistent-missing-override] error.