Add a couple of visibility specifiers that were missing
[ardour.git] / libs / pbd / xml++.cc
index a1fa77db660b53c3ec40f1871406b863b4747a76..69187995a17fa31ca092d0e2e17990c3597ce46b 100644 (file)
@@ -167,6 +167,7 @@ XMLTree::write() const
 void
 XMLTree::debug(FILE* out) const
 {
+#ifdef LIBXML_DEBUG_ENABLED
        xmlDocPtr doc;
        XMLNodeList children;
 
@@ -176,6 +177,7 @@ XMLTree::debug(FILE* out) const
        writenode(doc, _root, doc->children, 1);
        xmlDebugDumpDocument (out, doc);
        xmlFreeDoc(doc);
+#endif
 }
 
 const string&