summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.h
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.h
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.h')
-rw-r--r--crawl-ref/source/store.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/store.h b/crawl-ref/source/store.h
index 434c0cd74d..3f1b0b0ffe 100644
--- a/crawl-ref/source/store.h
+++ b/crawl-ref/source/store.h
@@ -265,7 +265,7 @@ public:
store_flags set_default_flags(store_flags flags);
store_flags unset_default_flags(store_flags flags);
store_val_type get_type() const;
- bool exists(const std::string key) const;
+ bool exists(const std::string &key) const;
void assert_validity() const;
// NOTE: If the const versions of get_value() or [] are given a