summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index 4404791ca..06815baeb 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -586,7 +586,7 @@ bool PlayerRelationsManager::isGoodName(Being *const being) const
if (being->getGoodStatus() != -1)
return (being->getGoodStatus() == 1);
- const std::string name = being->getName();
+ const std::string &name = being->getName();
const size_t size = name.size();
if (size < 3)