summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
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);