File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ namespace pcpp
4040 // / An abstract interface representing all devices that have BPF (Berkeley Packet Filter) filtering capabilities,
4141 // / meaning devices that can filter packets based on the BPF filtering syntax.
4242 // / This is an abstract class that cannot be instantiated
43- class IFilterableDevice
43+ class IFilterableDevice : public IDevice
4444 {
4545 protected:
4646 // c'tor should not be public
Original file line number Diff line number Diff line change @@ -138,14 +138,13 @@ namespace pcpp
138138 // / @class IPcapDevice
139139 // / An abstract class representing all libpcap-based packet capturing devices: files, libPcap, WinPcap/Npcap and
140140 // / RemoteCapture. This class is abstract and cannot be instantiated
141- class IPcapDevice : public IDevice , public IFilterableDevice , public IPcapStatisticsProvider
141+ class IPcapDevice : public IFilterableDevice , public IPcapStatisticsProvider
142142 {
143143 protected:
144144 internal::PcapHandle m_PcapDescriptor;
145145
146146 // c'tor should not be public
147- IPcapDevice () : IDevice()
148- {}
147+ IPcapDevice () = default ;
149148
150149 public:
151150 virtual ~IPcapDevice () = default ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace pcpp
3131
3232 // / @class PfRingDevice
3333 // / A class representing a PF_RING port
34- class PfRingDevice : public IDevice , public IFilterableDevice
34+ class PfRingDevice : public IFilterableDevice
3535 {
3636 friend class PfRingDeviceList ;
3737
You can’t perform that action at this time.
0 commit comments