Fix another case of undefined behaviour

pull/16/head
Timothy Pearson 10 years ago
parent 6b07d53d94
commit 20e7ea1336

@ -140,6 +140,14 @@ void KResolverWorkerBase::releaseResolver()
th->releaseResolver();
}
KResolverWorkerFactoryBase::KResolverWorkerFactoryBase()
{
}
KResolverWorkerFactoryBase::~KResolverWorkerFactoryBase()
{
}
void KResolverWorkerFactoryBase::registerNewWorker(KResolverWorkerFactoryBase* factory)
{
KResolverManager::manager()->registerNewWorker(factory);

@ -289,6 +289,12 @@ protected:
class KResolverWorkerFactoryBase
{
public:
// default constructor
KResolverWorkerFactoryBase();
// virtual destructor
virtual ~KResolverWorkerFactoryBase();
virtual KResolverWorkerBase* create() const = 0;
/**

Loading…
Cancel
Save