aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/xml-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/xml-writer.cc')
-rw-r--r--src/libutil/xml-writer.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libutil/xml-writer.cc b/src/libutil/xml-writer.cc
index 27235933e..20351e2c3 100644
--- a/src/libutil/xml-writer.cc
+++ b/src/libutil/xml-writer.cc
@@ -3,7 +3,10 @@
#include "xml-writer.hh"
-XMLWriter::XMLWriter(bool indent, ostream & output)
+namespace nix {
+
+
+XMLWriter::XMLWriter(bool indent, std::ostream & output)
: output(output), indent(indent)
{
output << "<?xml version='1.0' encoding='utf-8'?>\n";
@@ -122,3 +125,6 @@ int main(int argc, char * * argv)
return 0;
}
#endif
+
+
+}