mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Use c_str() instead of data()
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
std::vector<uint8_t> GetData(std::string_view path) const override
|
||||
{
|
||||
auto absolutePath = Path::Combine(_basePath, std::string(path).data());
|
||||
auto absolutePath = Path::Combine(_basePath, std::string(path).c_str());
|
||||
return File::ReadAllBytes(absolutePath);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user