diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 22:39:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 22:39:29 +0300 |
commit | 6419386c4c382753509425826ee609dd07d4ae72 (patch) | |
tree | f5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/resources/sounddb.cpp | |
parent | 78744020528ef6231e1606bbe2e8c53011c77935 (diff) | |
download | plus-6419386c4c382753509425826ee609dd07d4ae72.tar.gz plus-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2 plus-6419386c4c382753509425826ee609dd07d4ae72.tar.xz plus-6419386c4c382753509425826ee609dd07d4ae72.zip |
add const to other files.
Diffstat (limited to 'src/resources/sounddb.cpp')
-rw-r--r-- | src/resources/sounddb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sounddb.cpp b/src/resources/sounddb.cpp index 71e1a01e4..7b0d078e1 100644 --- a/src/resources/sounddb.cpp +++ b/src/resources/sounddb.cpp @@ -39,7 +39,7 @@ void SoundDB::load() unload(); XML::Document *doc = new XML::Document(paths.getStringValue("soundsFile")); - XmlNodePtr root = doc->rootNode(); + const XmlNodePtr root = doc->rootNode(); if (!root || !xmlNameEqual(root, "sounds")) { |