diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-01 15:14:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-01 23:42:37 +0300 |
commit | f9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch) | |
tree | d11408b35d0860709d31e6520578cdd28391f151 /src/utils/stringutils.cpp | |
parent | f52ca7838789a6910840597a929ecf6e0be9e1de (diff) | |
download | manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2 manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz manaplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip |
Add missing const.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index f47f724a8..e7b850510 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -283,7 +283,7 @@ std::string removeSpriteIndex(std::string str) return str; } -const char* getSafeUtf8String(std::string text) +const char* getSafeUtf8String(const std::string &text) { const size_t sz = text.size(); const size_t size = sz + UTF8_MAX_SIZE; |