diff options
author | rubidium42 <rubidium@openttd.org> | 2021-04-27 22:02:40 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-13 23:13:17 +0200 |
commit | 16437b7c0dc2cf8c0ab32e375df7b2712feff73d (patch) | |
tree | 6714beec528c999b11adfc9a4959abb79942ab3e /src/string_func.h | |
parent | 02fdb5b210ede022cb921e869cdb34758ee5299e (diff) | |
download | openttd-16437b7c0dc2cf8c0ab32e375df7b2712feff73d.tar.xz |
Codechange: move client name in settings to std::string
Diffstat (limited to 'src/string_func.h')
-rw-r--r-- | src/string_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_func.h b/src/string_func.h index 787fd6413..7ff84d43e 100644 --- a/src/string_func.h +++ b/src/string_func.h @@ -49,7 +49,7 @@ bool strtolower(char *str); bool strtolower(std::string &str, std::string::size_type offs = 0); bool StrValid(const char *str, const char *last) NOACCESS(2); -void StrTrimInPlace(char *str); +void StrTrimInPlace(std::string &str); /** * Check if a string buffer is empty. |