summaryrefslogtreecommitdiff
path: root/src/avatar.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-01 15:14:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-01 23:42:37 +0300
commitf9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch)
treed11408b35d0860709d31e6520578cdd28391f151 /src/avatar.h
parentf52ca7838789a6910840597a929ecf6e0be9e1de (diff)
downloadplus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz
plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2
plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz
plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip
Add missing const.
Diffstat (limited to 'src/avatar.h')
-rw-r--r--src/avatar.h4
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