Fix another case of undefined behaviour

(cherry picked from commit 20e7ea1336)
v3.5.13-sru
Timothy Pearson 10 years ago committed by Slávek Banko
parent 1a157e64a6
commit 83cdf8affa

@ -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