Remove default value for book pointer of readBookFromPath.

This is a nonsense to accept NULL pointer here.
This commit is contained in:
Matthieu Gautier
2018-09-06 18:24:44 +02:00
parent 7804bf2276
commit 5128861136
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ class Manager
protected:
kiwix::Library* library;
bool readBookFromPath(const std::string& path, Book* book = NULL);
bool readBookFromPath(const std::string& path, Book* book);
bool parseXmlDom(const pugi::xml_document& doc,
const bool readOnly,
const std::string& libraryPath);