Add missing override noticed by Clang's -Winconsistent-missing-override.