Codechange: replace char* with C++ style strings

This commit is contained in:
Rubidium
2025-04-29 22:34:20 +02:00
committed by rubidium42
parent 356b0159c7
commit 708e6a512d
20 changed files with 45 additions and 57 deletions
+2 -2
View File
@@ -134,9 +134,9 @@ struct TranslationWriter : LanguageWriter {
/* We don't write the length. */
}
void Write(const char *buffer, size_t length) override
void Write(std::string_view buffer) override
{
this->strings.emplace_back(buffer, length);
this->strings.emplace_back(buffer);
}
};