summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-18 10:28:18 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-18 10:28:18 +0000
commit6dc0abe0ba70d87bae5c869eebef43682566c1c3 (patch)
treeba955f16bde7b2093094bc9eb8302071a25d4c3a /crawl-ref/source/stash.h
parentae3f16ee3946f99b45e226547277a7da12425eff (diff)
downloadcrawl-ref-6dc0abe0ba70d87bae5c869eebef43682566c1c3.tar.gz
crawl-ref-6dc0abe0ba70d87bae5c869eebef43682566c1c3.zip
More strings instead of char*s.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1599 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index fd6ac6ddba..51ce593030 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -127,7 +127,7 @@ public:
void write(std::ostream &os, bool identify = false) const;
void reset() { items.clear(); visited = true; }
- void set_name(const char *s) { name = s; }
+ void set_name(const std::string& s) { name = s; }
void add_item(const item_def &item, unsigned price);