summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-06-06 00:24:46 +0300
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-06-05 23:48:45 +0200
commitf6583ac4b10f9e703fe1d44a1847444d34e09ab6 (patch)
tree9d801ddbf15a2825c64b4974e3d12b765e8c9465 /src/map.h
parent18c1842f1e566390b4d93c94628db49c4895c881 (diff)
downloadmana-client-f6583ac4b10f9e703fe1d44a1847444d34e09ab6.tar.gz
mana-client-f6583ac4b10f9e703fe1d44a1847444d34e09ab6.tar.bz2
mana-client-f6583ac4b10f9e703fe1d44a1847444d34e09ab6.tar.xz
mana-client-f6583ac4b10f9e703fe1d44a1847444d34e09ab6.zip
Fix memory leak in minimap
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 0832df93..9fc32232 100644
--- a/src/map.h
+++ b/src/map.h
@@ -269,7 +269,7 @@ class Map : public Properties
/**
* Gives the map id based on filepath (ex: 009-1)
*/
- const std::string *getFilename() const;
+ const std::string getFilename() const;
/**
* Check the current position against surrounding blocking tiles, and