mirror of https://github.com/kiwix/libkiwix.git
+ Add indexer destructor (to avoid compilation warning with "non-virtual destructor")
This commit is contained in:
parent
552d123b64
commit
71082cf581
|
@ -54,6 +54,10 @@ namespace kiwix {
|
||||||
pthread_mutex_init(&verboseMutex, NULL);
|
pthread_mutex_init(&verboseMutex, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Destructor */
|
||||||
|
Indexer::~Indexer() {
|
||||||
|
}
|
||||||
|
|
||||||
/* Read the stopwords */
|
/* Read the stopwords */
|
||||||
void Indexer::readStopWords(const string languageCode) {
|
void Indexer::readStopWords(const string languageCode) {
|
||||||
std::string stopWord;
|
std::string stopWord;
|
||||||
|
|
|
@ -62,6 +62,8 @@ namespace kiwix {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Indexer();
|
Indexer();
|
||||||
|
virtual ~Indexer();
|
||||||
|
|
||||||
bool start(const string zimPath, const string indexPath);
|
bool start(const string zimPath, const string indexPath);
|
||||||
bool stop();
|
bool stop();
|
||||||
bool isRunning();
|
bool isRunning();
|
||||||
|
|
Loading…
Reference in New Issue