lib/expat: use C++ exceptions instead of class Error

This commit is contained in:
Max Kellermann
2016-02-06 08:45:19 +01:00
parent cd2f65aafc
commit 6c5bc9b4a3
11 changed files with 108 additions and 174 deletions

View File

@@ -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_ */