minor refactor

This commit is contained in:
MihailRis
2024-11-19 08:04:30 +03:00
parent 53c54dc91d
commit b9d085c1b3
3 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ xmldocument Parser::parse() {
return document;
}
xmldocument xml::parse(const std::string& filename, const std::string& source) {
xmldocument xml::parse(std::string_view filename, std::string_view source) {
Parser parser(filename, source);
return parser.parse();
}