lib/expat: use C++ exceptions instead of class Error
This commit is contained in:
@@ -36,6 +36,9 @@ class UPnPDirContent {
|
||||
public:
|
||||
std::vector<UPnPDirObject> objects;
|
||||
|
||||
UPnPDirContent() = default;
|
||||
UPnPDirContent(UPnPDirContent &&) = default;
|
||||
|
||||
~UPnPDirContent();
|
||||
|
||||
gcc_pure
|
||||
@@ -60,7 +63,7 @@ public:
|
||||
* actually global, nothing really bad will happen if you mix
|
||||
* up...
|
||||
*/
|
||||
bool parse(const char *didltext, Error &error);
|
||||
void Parse(const char *didltext);
|
||||
};
|
||||
|
||||
#endif /* _UPNPDIRCONTENT_H_X_INCLUDED_ */
|
||||
|
||||
Reference in New Issue
Block a user