X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Futils%2Fxml-utils%2Fextract_xml.cpp;h=280f2ed0284b80736ce92485479c488ce75aad1b;hb=cfcb1e562fa9517544e1b2b02e73311390721f73;hp=ad319d3c46c10c01cda3cebd62ba92ef8fbf9993;hpb=051356a81761338485706e779d046d7fb8dbfe1d;p=lttng-tools.git diff --git a/tests/utils/xml-utils/extract_xml.cpp b/tests/utils/xml-utils/extract_xml.cpp index ad319d3c4..280f2ed02 100644 --- a/tests/utils/xml-utils/extract_xml.cpp +++ b/tests/utils/xml-utils/extract_xml.cpp @@ -38,6 +38,8 @@ #include #include +namespace ll = lttng::libxml; + #if defined(LIBXML_XPATH_ENABLED) static int opt_verbose; @@ -178,7 +180,7 @@ static int extract_xpath(const char *xml_path, const xmlChar *xpath) LTTNG_ASSERT(xml_path); LTTNG_ASSERT(xpath); - xml_parser_ctx_uptr parserCtx{ xmlNewParserCtxt() }; + ll::parser_ctx_uptr parserCtx{ xmlNewParserCtxt() }; if (!parserCtx) { fprintf(stderr, "ERR: could not allocate an XML parser context\n");