Kaydet (Commit) 0b8e8976 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: virtual dtor warnings

Change-Id: I22b79ed43db2233b5c8edd90092ca387bfd0ca9a
üst b64adf65
...@@ -28,7 +28,7 @@ namespace sd { ...@@ -28,7 +28,7 @@ namespace sd {
public: public:
AvahiNetworkService(const std::string& aname = "", uint aport = 1599) AvahiNetworkService(const std::string& aname = "", uint aport = 1599)
: ZeroconfService(aname, aport){} : ZeroconfService(aname, aport){}
~AvahiNetworkService(); virtual ~AvahiNetworkService(){}
void clear(); void clear();
void setup(); void setup();
......
...@@ -28,6 +28,7 @@ namespace sd{ ...@@ -28,6 +28,7 @@ namespace sd{
public: public:
explicit ZeroconfService(const std::string& aname, uint aport) explicit ZeroconfService(const std::string& aname, uint aport)
:name(aname), port(aport){} :name(aname), port(aport){}
virtual ~ZeroconfService(){}
std::string getName() const {return name;} std::string getName() const {return name;}
void setName(const char * n) {name = n;} void setName(const char * n) {name = n;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment