windows fixes

This commit is contained in:
shweet committed 2025-12-12 23:17:06 -08:00
1 parent 94a3371509
commit 61275d9e75
9 files changed
+15 -15

No files matched your search

+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;