summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-25 17:23:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-25 17:32:28 +0100
commit0b8e897647d8ea0356c5f2e204c1ee3e4512df18 (patch)
tree885172376085b8d9d64cbbb7a0a16bc861540d84 /sd
parentb64adf65afb1cfe1bd48fed0d71ac333ad962776 (diff)
WaE: virtual dtor warnings
Change-Id: I22b79ed43db2233b5c8edd90092ca387bfd0ca9a
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/AvahiNetworkService.hxx2
-rw-r--r--sd/source/ui/remotecontrol/ZeroconfService.hxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.hxx b/sd/source/ui/remotecontrol/AvahiNetworkService.hxx
index 62809afda229..8f506f176bb2 100644
--- a/sd/source/ui/remotecontrol/AvahiNetworkService.hxx
+++ b/sd/source/ui/remotecontrol/AvahiNetworkService.hxx
@@ -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();
diff --git a/sd/source/ui/remotecontrol/ZeroconfService.hxx b/sd/source/ui/remotecontrol/ZeroconfService.hxx
index a3e92fa279b8..a31776d6eb2e 100644
--- a/sd/source/ui/remotecontrol/ZeroconfService.hxx
+++ b/sd/source/ui/remotecontrol/ZeroconfService.hxx
@@ -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;}