diff --git a/src/common/kiwix/xapianIndexer.cpp b/src/common/kiwix/xapianIndexer.cpp index 9ce6f4add..9272d4b2b 100644 --- a/src/common/kiwix/xapianIndexer.cpp +++ b/src/common/kiwix/xapianIndexer.cpp @@ -35,7 +35,7 @@ namespace kiwix { /* Insert the stopwords */ if (!this->stopWords.empty()) { - typename std::vector::iterator it = this->stopWords.begin(); + std::vector::iterator it = this->stopWords.begin(); for( ; it != this->stopWords.end(); ++it) { this->stopper.add(*it); }