diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-16 01:47:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-16 01:47:17 +0300 |
commit | b293d99a34d21d137374e46386b8669907cb3c1d (patch) | |
tree | 7e5e20e2b81e239878c13229c4d02139e8b85c2b /src/gui/windows/updaterwindow.cpp | |
parent | 34f943198afd1f7f342d63bd70d30cdeacd3dbad (diff) | |
download | manaverse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.gz manaverse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.bz2 manaverse-b293d99a34d21d137374e46386b8669907cb3c1d.tar.xz manaverse-b293d99a34d21d137374e46386b8669907cb3c1d.zip |
add missing const in xmlnode pointers.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index fcb26cc36..5eebbaf13 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -64,7 +64,7 @@ static std::vector<UpdateFile> loadXMLFile(const std::string &fileName) { std::vector<UpdateFile> files; XML::Document doc(fileName, false); - const XmlNodePtr rootNode = doc.rootNode(); + const XmlNodePtrConst rootNode = doc.rootNode(); if (!rootNode || !xmlNameEqual(rootNode, "updates")) { |