summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-16 11:58:18 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-16 11:58:18 +0000
commit8376e440396796e596cdd49b0d539b5fb48f16f0 (patch)
treef0298a62dad2a8a69057db7f5f71fd04c6359561 /crawl-ref/source/store.cc
parent1ece2e1bb923cba7ce186e93de54fc8dc78b1cd2 (diff)
downloadcrawl-ref-8376e440396796e596cdd49b0d539b5fb48f16f0.tar.gz
crawl-ref-8376e440396796e596cdd49b0d539b5fb48f16f0.zip
Fixed crashes when searching for randarts in stash-tracker.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3078 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r--crawl-ref/source/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/store.cc b/crawl-ref/source/store.cc
index c3154b0dc8..1ea54d9dfd 100644
--- a/crawl-ref/source/store.cc
+++ b/crawl-ref/source/store.cc
@@ -1110,7 +1110,7 @@ store_val_type CrawlHashTable::get_type() const
return type;
}
-bool CrawlHashTable::exists(const std::string key) const
+bool CrawlHashTable::exists(const std::string &key) const
{
assert_validity();
hash_map_type::const_iterator i = hash_map.find(key);