summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-18 04:13:26 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-18 04:13:26 +0300
commitbc05e688174d24f3b2b01ee0ab5ce73787817832 (patch)
tree93de6e980b161e7dccec2acf98b4621c6c385369 /src/progs
parent5e11fb3595e752e37557e3e1a1a0590e033daad3 (diff)
downloadmv-bc05e688174d24f3b2b01ee0ab5ce73787817832.tar.gz
mv-bc05e688174d24f3b2b01ee0ab5ce73787817832.tar.bz2
mv-bc05e688174d24f3b2b01ee0ab5ce73787817832.tar.xz
mv-bc05e688174d24f3b2b01ee0ab5ce73787817832.zip
Fix some style issues after automatic checks.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 22d2bc483..f9f608102 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -304,7 +304,7 @@ void Client::gameInit()
#ifndef ENABLE_COMMANDLINEPASSWORD
if (!settings.options.password.empty())
{
- settings.options.password = std::string();
+ settings.options.password.clear();
logger->log("Command line password parameter disabled.");
}
#endif