summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:09:21 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:09:21 +0000
commitad13ec9561c56b14120ab7f56a6acef8b3c453af (patch)
tree85bdf3bbdaa722b75653a0cd906176f296864224
parent185de3061a4078831bc8368cfc6ef8346907054e (diff)
parentf35fdf8ee1206ecffb01b7df1a9e21dfdbef772f (diff)
downloadparameter-framework-android14-qpr2-s2-release.tar.gz
Change-Id: I53f8ddbd055733d106fcf378f6fea19ec5aee353
-rw-r--r--upstream/xmlserializer/XmlSerializingContext.cpp2
-rw-r--r--upstream/xmlserializer/XmlSerializingContext.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/upstream/xmlserializer/XmlSerializingContext.cpp b/upstream/xmlserializer/XmlSerializingContext.cpp
index 0b08bab..f03d9a0 100644
--- a/upstream/xmlserializer/XmlSerializingContext.cpp
+++ b/upstream/xmlserializer/XmlSerializingContext.cpp
@@ -55,7 +55,7 @@ void CXmlSerializingContext::appendLineToError(const std::string &strAppend)
* @param[in] error the xml error
*
*/
-void CXmlSerializingContext::structuredErrorHandler(void *userData, xmlErrorPtr error)
+void CXmlSerializingContext::structuredErrorHandler(void *userData, const xmlError *error)
{
CXmlSerializingContext *self = static_cast<CXmlSerializingContext *>(userData);
diff --git a/upstream/xmlserializer/XmlSerializingContext.h b/upstream/xmlserializer/XmlSerializingContext.h
index fefa9d0..3927827 100644
--- a/upstream/xmlserializer/XmlSerializingContext.h
+++ b/upstream/xmlserializer/XmlSerializingContext.h
@@ -61,7 +61,7 @@ public:
* @param[in] error the xml error output format
*
*/
- static void structuredErrorHandler(void *userData, _xmlError *error);
+ static void structuredErrorHandler(void *userData, const _xmlError *error);
private:
std::string _strXmlError;