From 97b9d7cc85e82114b21c3316f671b37a9beb43c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Jul 2017 23:16:17 +0300 Subject: Add missing reference. --- src/being/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 508104d27..26ed555c2 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3504,7 +3504,7 @@ void Being::showGmBadge(const bool show) restrict2 mShowBadges != 0u && GroupDb::getShowBadge(mGroupId)) { - const std::string gmBadge = GroupDb::getBadge(mGroupId); + const std::string &gmBadge = GroupDb::getBadge(mGroupId); if (!gmBadge.empty()) { mBadges[BadgeIndex::Gm] = AnimatedSprite::load( -- cgit v1.2.3-60-g2f50