From 328eaa8ded37e86f2575cb2804d1aaa36cdd4a1b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Feb 2015 17:35:02 +0300 Subject: Remove optional parameter from xml document constructor. --- src/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/units.cpp') diff --git a/src/units.cpp b/src/units.cpp index ad4dd1cbb..a182c67db 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -111,7 +111,7 @@ void Units::loadUnits() void Units::loadXmlFile(const std::string &fileName) { - XML::Document doc(fileName); + XML::Document doc(fileName, true); const XmlNodePtrConst root = doc.rootNode(); if (!root || !xmlNameEqual(root, "units")) -- cgit v1.2.3-70-g09d2