diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:34:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:34:07 +0300 |
commit | b0d6ef00eebb7dcd03b051db63840c04243a784d (patch) | |
tree | 8998572186af79ee342ba3515ae8fe52875ede1c /src/being | |
parent | 4acdea8dc3c12147965f63b2974d192d8cd0ed34 (diff) | |
download | plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.gz plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.bz2 plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.xz plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.zip |
Add missing consts or string references.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index a2cdf110f..9029b5ae1 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -5345,7 +5345,7 @@ void Being::setLanguageId(const int lang) restrict2 noexcept2 if (lang != mLanguageId) { delete2(mBadges[BadgeIndex::Lang]); - const std::string badge = LanguageDb::getIcon(lang); + const std::string &badge = LanguageDb::getIcon(lang); if (!badge.empty()) { mBadges[BadgeIndex::Lang] = AnimatedSprite::load(pathJoin( |