Skip to content

Commit

Permalink
WinPcapLiveDevice.h : explicit override
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Sep 28, 2024
1 parent 3919812 commit 99318e0
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
virtual 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 99318e0

Please sign in to comment.