diff --git a/include/manager.h b/include/manager.h index 26971d39e..d6e0144d7 100644 --- a/include/manager.h +++ b/include/manager.h @@ -141,8 +141,7 @@ class Manager */ bool setBookIndex(const string id, const string path, - const supportedIndexType type); - bool setBookIndex(const string id, const string path); + const supportedIndexType type = XAPIAN); /** * Set the path of the zim file associated to a book. diff --git a/src/manager.cpp b/src/manager.cpp index 7446d9a90..72b0f8ea5 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -495,11 +495,6 @@ bool Manager::setBookIndex(const string id, return false; } -bool Manager::setBookIndex(const string id, const string path) -{ - return this->setBookIndex(id, path, XAPIAN); -} - bool Manager::setBookPath(const string id, const string path) { std::vector::iterator itr;