WaE: virtual dtor warnings

Change-Id: I22b79ed43db2233b5c8edd90092ca387bfd0ca9a
This commit is contained in:
Caolán McNamara
2013-07-25 17:23:25 +01:00
parent b64adf65af
commit 0b8e897647
2 changed files with 2 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ namespace sd {
public:
AvahiNetworkService(const std::string& aname = "", uint aport = 1599)
: ZeroconfService(aname, aport){}
~AvahiNetworkService();
virtual ~AvahiNetworkService(){}
void clear();
void setup();

View File

@@ -28,6 +28,7 @@ namespace sd{
public:
explicit ZeroconfService(const std::string& aname, uint aport)
:name(aname), port(aport){}
virtual ~ZeroconfService(){}
std::string getName() const {return name;}
void setName(const char * n) {name = n;}