summaryrefslogtreecommitdiffstats
path: root/tdecore/network
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-20 15:29:33 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-20 15:29:33 -0500
commit20e7ea1336a0c28c09b22623cb676d83a7fd168b (patch)
tree17ddc2a975753bfff6883c31f658c40cd5136db8 /tdecore/network
parent6b07d53d94da20837b2993180a02f7b474051e0c (diff)
downloadtdelibs-20e7ea1336a0c28c09b22623cb676d83a7fd168b.tar.gz
tdelibs-20e7ea1336a0c28c09b22623cb676d83a7fd168b.zip
Fix another case of undefined behaviour
Diffstat (limited to 'tdecore/network')
-rw-r--r--tdecore/network/kresolverworkerbase.cpp8
-rw-r--r--tdecore/network/kresolverworkerbase.h6
2 files changed, 14 insertions, 0 deletions
diff --git a/tdecore/network/kresolverworkerbase.cpp b/tdecore/network/kresolverworkerbase.cpp
index ee6ee1011..f149e2dda 100644
--- a/tdecore/network/kresolverworkerbase.cpp
+++ b/tdecore/network/kresolverworkerbase.cpp
@@ -140,6 +140,14 @@ void KResolverWorkerBase::releaseResolver()
th->releaseResolver();
}
+KResolverWorkerFactoryBase::KResolverWorkerFactoryBase()
+{
+}
+
+KResolverWorkerFactoryBase::~KResolverWorkerFactoryBase()
+{
+}
+
void KResolverWorkerFactoryBase::registerNewWorker(KResolverWorkerFactoryBase* factory)
{
KResolverManager::manager()->registerNewWorker(factory);
diff --git a/tdecore/network/kresolverworkerbase.h b/tdecore/network/kresolverworkerbase.h
index 4dee33239..e0a676ced 100644
--- a/tdecore/network/kresolverworkerbase.h
+++ b/tdecore/network/kresolverworkerbase.h
@@ -289,6 +289,12 @@ protected:
class KResolverWorkerFactoryBase
{
public:
+ // default constructor
+ KResolverWorkerFactoryBase();
+
+ // virtual destructor
+ virtual ~KResolverWorkerFactoryBase();
+
virtual KResolverWorkerBase* create() const = 0;
/**