Codechange: Remove c_str, if std::string_view is already accepted.

This commit is contained in:
frosch
2025-04-30 12:38:02 +02:00
committed by frosch
parent b564fbb5e6
commit 36ce1f890a
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ struct StringListReader : StringReader {
* @param translation Are we reading a translation?
*/
StringListReader(StringData &data, const LanguageStrings &strings, bool master, bool translation) :
StringReader(data, strings.language.c_str(), master, translation), p(strings.lines.begin()), end(strings.lines.end())
StringReader(data, strings.language, master, translation), p(strings.lines.begin()), end(strings.lines.end())
{
}