about summary refs log tree commit diff
path: root/src/libexpr/value-to-xml.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/value-to-xml.hh')
-rw-r--r--src/libexpr/value-to-xml.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libexpr/value-to-xml.hh b/src/libexpr/value-to-xml.hh
index 3ebc989ffa26..97657327edba 100644
--- a/src/libexpr/value-to-xml.hh
+++ b/src/libexpr/value-to-xml.hh
@@ -1,5 +1,4 @@
-#ifndef __VALUE_TO_XML_H
-#define __VALUE_TO_XML_H
+#pragma once
 
 #include "nixexpr.hh"
 #include "eval.hh"
@@ -13,5 +12,3 @@ void printValueAsXML(EvalState & state, bool strict, bool location,
     Value & v, std::ostream & out, PathSet & context);
     
 }
-
-#endif /* !__VALUE_TO_XML_H */