From 0b8e897647d8ea0356c5f2e204c1ee3e4512df18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 25 Jul 2013 17:23:25 +0100 Subject: [PATCH] WaE: virtual dtor warnings Change-Id: I22b79ed43db2233b5c8edd90092ca387bfd0ca9a --- sd/source/ui/remotecontrol/AvahiNetworkService.hxx | 2 +- sd/source/ui/remotecontrol/ZeroconfService.hxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;}