summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/xmlfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/xmlfile.h')
-rw-r--r--src/lib/util/xmlfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util/xmlfile.h b/src/lib/util/xmlfile.h
index 8d0f2b8c36c..8949ede2d6d 100644
--- a/src/lib/util/xmlfile.h
+++ b/src/lib/util/xmlfile.h
@@ -16,6 +16,7 @@
#include <list>
#include <string>
+#include <string_view>
#include <utility>
@@ -245,7 +246,7 @@ private:
/* ----- miscellaneous interfaces ----- */
/* normalize a string into something that can be written to an XML file */
-const char *normalize_string(const char *string);
+std::string normalize_string(std::string_view string);
} // namespace util::xml