summaryrefslogtreecommitdiff
path: root/src/tileset.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 14:43:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 14:43:10 +0300
commite4c551344b0713ff551884efb90c6d4d3f3e4613 (patch)
treec50f944f7a9896a64476ced7e7f7f3ff4b4e87e6 /src/tileset.h
parent965e0b59beaec007a2675ddaf11426acf30782f8 (diff)
downloadmanaplus-e4c551344b0713ff551884efb90c6d4d3f3e4613.tar.gz
manaplus-e4c551344b0713ff551884efb90c6d4d3f3e4613.tar.bz2
manaplus-e4c551344b0713ff551884efb90c6d4d3f3e4613.tar.xz
manaplus-e4c551344b0713ff551884efb90c6d4d3f3e4613.zip
improve tileset class.
Diffstat (limited to 'src/tileset.h')
-rw-r--r--src/tileset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tileset.h b/src/tileset.h
index 9b3bc81a3..6d9891591 100644
--- a/src/tileset.h
+++ b/src/tileset.h
@@ -60,7 +60,7 @@ class Tileset final : public ImageSet
/**
* Returns property value.
*/
- std::string getProperty(std::string name) A_WARN_UNUSED
+ std::string getProperty(const std::string &name) A_WARN_UNUSED
{
const std::map<std::string, std::string>::const_iterator
it = mProperties.find(name);