From b293d99a34d21d137374e46386b8669907cb3c1d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 16 Jan 2014 01:47:17 +0300 Subject: add missing const in xmlnode pointers. --- 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 7260acf68..f095d7bbf 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -112,7 +112,7 @@ void Units::loadUnits() void Units::loadXmlFile(const std::string &fileName) { XML::Document doc(fileName); - const XmlNodePtr root = doc.rootNode(); + const XmlNodePtrConst root = doc.rootNode(); if (!root || !xmlNameEqual(root, "units")) { -- cgit v1.2.3-70-g09d2