aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/docparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-02-22 15:57:27 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-02-23 12:26:54 +0100
commit213ad8bc621d38d9a615bf2cfb98dbccc6332a8c (patch)
tree80041ded453fb095b7e83c33cf5330a233bbf6a5 /sources/shiboken6/ApiExtractor/docparser.cpp
parent81cd88dbbe2adab24cb78cfe313486fcd6e57171 (diff)
Fix warnings about using deprecated libxml2 API
Remove the call to xmlSubstituteEntitiesDefault(int) and use the new xmlRead*() functions with the replacment option. Change-Id: Id71aac645bb5c92c2d5fb9d77934ed74a5cc8479 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/docparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/docparser.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/sources/shiboken6/ApiExtractor/docparser.cpp b/sources/shiboken6/ApiExtractor/docparser.cpp
index f275c4eee..468fe1098 100644
--- a/sources/shiboken6/ApiExtractor/docparser.cpp
+++ b/sources/shiboken6/ApiExtractor/docparser.cpp
@@ -51,13 +51,7 @@ static void removeNonXpathDocModifications(DocModificationList *l)
l->erase(std::remove_if(l->begin(), l->end(), isNotXpathDocModification), l->end());
}
-DocParser::DocParser()
-{
-#ifdef HAVE_LIBXSLT
- xmlSubstituteEntitiesDefault(1);
-#endif
-}
-
+DocParser::DocParser() = default;
DocParser::~DocParser() = default;
void DocParser::fillGlobalFunctionDocumentation(const AbstractMetaFunctionPtr &)