mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
minor refactor
This commit is contained in:
parent
53c54dc91d
commit
b9d085c1b3
3 changed files with 17 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue