From 6dc0abe0ba70d87bae5c869eebef43682566c1c3 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 18 Jun 2007 10:28:18 +0000 Subject: 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 --- crawl-ref/source/stash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/stash.h') 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); -- cgit v1.2.3-54-g00ecf