diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | e02a2dfd184a996a02ecc6004a0a03bcfbd19131 (patch) | |
tree | cb37d7099bfabb409ab97fffeb4ca71fdb9e110e /src/init1.cc | |
parent | aebc48dffa75698be4d2c1bb2b1a0927b10be1cc (diff) |
Change store_info_type::name to std::string
Diffstat (limited to 'src/init1.cc')
-rw-r--r-- | src/init1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init1.cc b/src/init1.cc index fb44c99b..658cf8e2 100644 --- a/src/init1.cc +++ b/src/init1.cc @@ -5669,10 +5669,10 @@ errr init_st_info_txt(FILE *fp) /* Point at the "info" */ st_ptr = &expand_to_fit_index(st_info, i); - assert(!st_ptr->name); + assert(st_ptr->name.empty()); /* Copy name */ - st_ptr->name = my_strdup(s); + st_ptr->name = s; /* Next... */ continue; |