summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-07 17:54:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-07 17:54:05 +0300
commitb43451daa5dc7b2e352d084d45934cf71db7ae4f (patch)
tree1e636b067a19ca00fe757d2c287342b300058b29 /src/gui/widgets/itemcontainer.h
parent5b1eaa9ce112d70f3b93699145858e6a33ab2a3b (diff)
downloadmanaplus-b43451daa5dc7b2e352d084d45934cf71db7ae4f.tar.gz
manaplus-b43451daa5dc7b2e352d084d45934cf71db7ae4f.tar.bz2
manaplus-b43451daa5dc7b2e352d084d45934cf71db7ae4f.tar.xz
manaplus-b43451daa5dc7b2e352d084d45934cf71db7ae4f.zip
Add missing const.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index 06e9fd459..0fbe84da9 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -123,7 +123,7 @@ class ItemContainer final : public Widget,
void setSortType(const int sortType);
- void setName(std::string str)
+ void setName(const std::string &str)
{ mName = str; }
void updateMatrix();