summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
/**