summaryrefslogtreecommitdiff
path: root/src/resources/sounddb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sounddb.cpp')
-rw-r--r--src/resources/sounddb.cpp2
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"))
{