summaryrefslogtreecommitdiff
path: root/zenXml/zenxml/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenXml/zenxml/xml.h')
-rw-r--r--zenXml/zenxml/xml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenXml/zenxml/xml.h b/zenXml/zenxml/xml.h
index 4058f7bf..f7340b39 100644
--- a/zenXml/zenxml/xml.h
+++ b/zenXml/zenxml/xml.h
@@ -91,12 +91,12 @@ void saveXml(const XmlDoc& doc, const Zstring& filePath) //throw FileError
try //only update XML file if there are changes
{
if (getFileSize(filePath) == stream.size()) //throw FileError
- if (loadBinContainer<std::string>(filePath, nullptr /*notifyUnbufferedIO*/) == stream) //throw FileError
+ if (getFileContent(filePath, nullptr /*notifyUnbufferedIO*/) == stream) //throw FileError
return;
}
catch (FileError&) {}
- saveBinContainer(filePath, stream, nullptr /*notifyUnbufferedIO*/); //throw FileError
+ setFileContent(filePath, stream, nullptr /*notifyUnbufferedIO*/); //throw FileError
}
bgstack15