From 3e321f05b85c95b89019581827e5b43046560d68 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Sat, 7 Dec 2013 02:51:44 -0500 Subject: [PATCH] add missing destructors --- interface.cpp | 4 ++++ neighbor.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/interface.cpp b/interface.cpp index 1c2ba42..98ed5c3 100644 --- a/interface.cpp +++ b/interface.cpp @@ -41,6 +41,10 @@ m_index(-1) m_index = Utils::interfaceIndex(interface); } +Interface::~Interface() { + +} + /*! Set the interface's administrative link state to up. Requires that the CAP_NET_ADMIN capability be set on the application binary, or run as root (\a not \a recommended). Returns 0 on success, 1 on error. */ diff --git a/neighbor.cpp b/neighbor.cpp index 79868d7..f43eea6 100644 --- a/neighbor.cpp +++ b/neighbor.cpp @@ -32,6 +32,10 @@ m_interface(interface) } +Neighbor::~Neighbor() { + +} + /*! Returns the MAC address that has been learned for the IP address \a ip. If the IP address is not in the ARP table or an error retrieving the neighbor occurred, the string "00:00:00:00:00:00" will be returned. If there was an error, *ok will be set to false, otherwise it will be true. */