diff options
author | Timothy Pearson <[email protected]> | 2014-09-20 15:29:33 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-09-20 15:29:33 -0500 |
commit | 20e7ea1336a0c28c09b22623cb676d83a7fd168b (patch) | |
tree | 17ddc2a975753bfff6883c31f658c40cd5136db8 /tdecore | |
parent | 6b07d53d94da20837b2993180a02f7b474051e0c (diff) | |
download | tdelibs-20e7ea1336a0c28c09b22623cb676d83a7fd168b.tar.gz tdelibs-20e7ea1336a0c28c09b22623cb676d83a7fd168b.zip |
Fix another case of undefined behaviour
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/network/kresolverworkerbase.cpp | 8 | ||||
-rw-r--r-- | tdecore/network/kresolverworkerbase.h | 6 |
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; /** |