diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
commit | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch) | |
tree | df4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/logger.cpp | |
parent | 9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff) | |
download | manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2 manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip |
improve a bit strings declaration.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 13ed54fee..35da8973e 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -225,8 +225,8 @@ void Logger::error(const std::string &error_text) // (ConstStr255Param) msg, nullptr, nullptr); #elif defined(__linux__) || defined(_linux) std::cerr << "Error: " << error_text << std::endl; - const std::string msg = "xmessage \"Error happend. " - "Please see log file for more information.\""; + const std::string msg("xmessage \"Error happend. " + "Please see log file for more information.\""); if (system(msg.c_str()) == -1) std::cerr << "Error: " << error_text << std::endl; #else |