1
0
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:
skdltmxn
2021-01-07 04:28:19 +09:00
parent c093a50f3f
commit e1cfa8693f
4 changed files with 4 additions and 4 deletions

View File

@@ -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);
}
};