Codechange: Redundant use of char * and c_str(). (#11454)
This commit is contained in:
@@ -79,7 +79,7 @@ struct FileStringReader : StringReader {
|
||||
* @param translation Are we reading a translation?
|
||||
*/
|
||||
FileStringReader(StringData &data, const std::filesystem::path &file, bool master, bool translation) :
|
||||
StringReader(data, file.generic_string().c_str(), master, translation)
|
||||
StringReader(data, file.generic_string(), master, translation)
|
||||
{
|
||||
this->input_stream.open(file, std::ifstream::binary);
|
||||
}
|
||||
|
Reference in New Issue
Block a user