From 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Sep 2013 13:48:24 +0300 Subject: improve a bit strings declaration. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') 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)) -- cgit v1.2.3-70-g09d2