diff options
Diffstat (limited to 'src/avatar.h')
-rw-r--r-- | src/avatar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/avatar.h b/src/avatar.h index 03050a06f..60e68a948 100644 --- a/src/avatar.h +++ b/src/avatar.h @@ -115,7 +115,7 @@ public: std::string getMap() const A_WARN_UNUSED { return mMap; } - void setMap(std::string map) + void setMap(const std::string &map) { mMap = map; } int getX() const A_WARN_UNUSED @@ -169,7 +169,7 @@ public: const std::string &getIp() const A_WARN_UNUSED { return mIp; } - void setIp(std::string ip) + void setIp(const std::string &ip) { mIp = ip; } bool getPoison() const A_WARN_UNUSED |