diff --git a/Pcap++/header/PcapFileDevice.h b/Pcap++/header/PcapFileDevice.h index c01396247c..c05a2c2815 100644 --- a/Pcap++/header/PcapFileDevice.h +++ b/Pcap++/header/PcapFileDevice.h @@ -461,7 +461,7 @@ namespace pcpp * Get statistics of packets written so far. * @param[out] stats The stats struct where stats are returned */ - virtual void getStatistics(PcapStats& stats) const; + void getStatistics(PcapStats& stats) const override; };