- g++ gave warning about "class eth_pktmover_c has virtual functions but
a non-virtual destructor" so I gave it a virtual destructor which is empty!
This commit is contained in:
parent
42bc8f4f2c
commit
7f5f5e24ce
@ -39,6 +39,7 @@ typedef void (*eth_rx_handler_t)(void *arg, const void *buf, unsigned len);
|
||||
class eth_pktmover_c : public logfunctions {
|
||||
public:
|
||||
virtual void sendpkt(void *buf, unsigned io_len) = 0;
|
||||
virtual ~eth_pktmover_c (void) {}
|
||||
protected:
|
||||
eth_rx_handler_t rxh; // receive callback
|
||||
void *rxarg;
|
||||
|
Loading…
Reference in New Issue
Block a user