Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / tests / utils / xml-utils / extract_xml.cpp
index ad319d3c46c10c01cda3cebd62ba92ef8fbf9993..280f2ed0284b80736ce92485479c488ce75aad1b 100644 (file)
@@ -38,6 +38,8 @@
 #include <string.h>
 #include <unistd.h>
 
+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");
This page took 0.023157 seconds and 4 git commands to generate.