windows fixes

This commit is contained in:
2025-12-12 23:17:06 -08:00
parent 94a3371509
commit 61275d9e75
9 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ namespace anm2ed::anm2
{
XMLDocument document;
if (document.LoadFile(path.c_str()) != XML_SUCCESS)
if (document.LoadFile(path.string().c_str()) != XML_SUCCESS)
{
if (errorString) *errorString = document.ErrorStr();
return;
@@ -56,7 +56,7 @@ namespace anm2ed::anm2
XMLDocument document;
document.InsertFirstChild(to_element(document));
if (document.SaveFile(path.c_str()) != XML_SUCCESS)
if (document.SaveFile(path.string().c_str()) != XML_SUCCESS)
{
if (errorString) *errorString = document.ErrorStr();
return false;