diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-25 17:23:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-25 17:32:28 +0100 |
commit | 0b8e897647d8ea0356c5f2e204c1ee3e4512df18 (patch) | |
tree | 885172376085b8d9d64cbbb7a0a16bc861540d84 /sd | |
parent | b64adf65afb1cfe1bd48fed0d71ac333ad962776 (diff) |
WaE: virtual dtor warnings
Change-Id: I22b79ed43db2233b5c8edd90092ca387bfd0ca9a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/AvahiNetworkService.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/ZeroconfService.hxx | 1 |
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;} |