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);
|
||||
}
|
||||
|
||||
/* Destructor */
|
||||
Indexer::~Indexer() {
|
||||
}
|
||||
|
||||
/* Read the stopwords */
|
||||
void Indexer::readStopWords(const string languageCode) {
|
||||
std::string stopWord;
|
||||
|
|
|
@ -62,6 +62,8 @@ namespace kiwix {
|
|||
|
||||
public:
|
||||
Indexer();
|
||||
virtual ~Indexer();
|
||||
|
||||
bool start(const string zimPath, const string indexPath);
|
||||
bool stop();
|
||||
bool isRunning();
|
||||
|
|
Loading…
Reference in New Issue