summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);