diff options
author | rubidium42 <rubidium@openttd.org> | 2021-04-29 19:04:27 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-13 23:13:17 +0200 |
commit | a032714dc4ca2b620af1ba9a444840d46ec9326f (patch) | |
tree | 9a97d456de8f1fdeb7c65dd5d38ad0304182da81 /src/ini_type.h | |
parent | 95386dc2b8404519c91b9e0ad728c39fb1d9e118 (diff) | |
download | openttd-a032714dc4ca2b620af1ba9a444840d46ec9326f.tar.xz |
Codechange: move script settings to std::string
Diffstat (limited to 'src/ini_type.h')
-rw-r--r-- | src/ini_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ini_type.h b/src/ini_type.h index 160ba7619..882ccc789 100644 --- a/src/ini_type.h +++ b/src/ini_type.h @@ -31,7 +31,7 @@ struct IniItem { IniItem(struct IniGroup *parent, const std::string &name); ~IniItem(); - void SetValue(const char *value); + void SetValue(const std::string_view value); }; /** A group within an ini file. */ |