Skip to content

Commit

Permalink
WinPcapLiveDevice.h : explicit override (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin authored Sep 30, 2024
1 parent 3919812 commit 1f52307
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Pcap++/header/WinPcapLiveDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ namespace pcpp
WinPcapLiveDevice& operator=(const WinPcapLiveDevice& other);

public:
virtual LiveDeviceType getDeviceType() const
LiveDeviceType getDeviceType() const override
{
return WinPcapDevice;
}

bool startCapture(OnPacketArrivesCallback onPacketArrives, void* onPacketArrivesUserCookie,
int intervalInSecondsToUpdateStats, OnStatsUpdateCallback onStatsUpdate,
void* onStatsUpdateUserCookie);
void* onStatsUpdateUserCookie) override;
bool startCapture(int intervalInSecondsToUpdateStats, OnStatsUpdateCallback onStatsUpdate,
void* onStatsUpdateUserCookie);
bool startCapture(RawPacketVector& capturedPacketsVector)
void* onStatsUpdateUserCookie) override;
bool startCapture(RawPacketVector& capturedPacketsVector) override
{
return PcapLiveDevice::startCapture(capturedPacketsVector);
}
Expand Down

0 comments on commit 1f52307

Please sign in to comment.