diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-20 15:29:33 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:48 +0100 |
commit | 83cdf8affaf23e4c68f28e9cbe9d2a63cb99614c (patch) | |
tree | f63ccfed99da884cce6d3e5be2fd46ade5ab956e /kdecore | |
parent | 1a157e64a6d88c7dbfa49e52a3ceef839bf8c874 (diff) | |
download | tdelibs-83cdf8affaf23e4c68f28e9cbe9d2a63cb99614c.tar.gz tdelibs-83cdf8affaf23e4c68f28e9cbe9d2a63cb99614c.zip |
Fix another case of undefined behaviour
(cherry picked from commit 20e7ea1336a0c28c09b22623cb676d83a7fd168b)
Diffstat (limited to 'kdecore')
-rw-r--r-- | kdecore/network/kresolverworkerbase.cpp | 8 | ||||
-rw-r--r-- | kdecore/network/kresolverworkerbase.h | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/kdecore/network/kresolverworkerbase.cpp b/kdecore/network/kresolverworkerbase.cpp index ee6ee1011..f149e2dda 100644 --- a/kdecore/network/kresolverworkerbase.cpp +++ b/kdecore/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/kdecore/network/kresolverworkerbase.h b/kdecore/network/kresolverworkerbase.h index 4dee33239..e0a676ced 100644 --- a/kdecore/network/kresolverworkerbase.h +++ b/kdecore/network/kresolverworkerbase.h @@ -289,6 +289,12 @@ protected: class KResolverWorkerFactoryBase { public: + // default constructor + KResolverWorkerFactoryBase(); + + // virtual destructor + virtual ~KResolverWorkerFactoryBase(); + virtual KResolverWorkerBase* create() const = 0; /** |