mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Replace 0 and NULL with nullptr (#7827)
This commit is contained in:
@@ -19,7 +19,7 @@ inline std::string StringFromHex(const std::string_view& input)
|
||||
result.reserve(input.size() / 2);
|
||||
for (size_t i = 0; i < input.size(); i += 2)
|
||||
{
|
||||
auto val = std::stoi(std::string(input.substr(i, 2)), 0, 16);
|
||||
auto val = std::stoi(std::string(input.substr(i, 2)), nullptr, 16);
|
||||
result.push_back(val);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user