summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/client.cpp
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadmanaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 64dd6ed53..d4ec0fba5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2251,7 +2251,7 @@ void Client::initUpdatesDir()
#endif
const ResourceManager *const resman = ResourceManager::getInstance();
- const std::string updateDir = "/" + mUpdatesDir;
+ const std::string updateDir("/" + mUpdatesDir);
// Verify that the updates directory exists. Create if necessary.
if (!resman->isDirectory(updateDir))