removing a warning about hidden virtual override

Very minor PR -- fixes one warning on Mac.