mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Remove default value for book pointer of readBookFromPath
.
This is a nonsense to accept NULL pointer here.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user