mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Close #24665: Don't return empty strings with quotes for std::string
This commit is contained in:
@@ -179,7 +179,7 @@ std::string ScreenshotDumpPNG(RenderTarget& rt)
|
||||
|
||||
if (!path.has_value())
|
||||
{
|
||||
return "";
|
||||
return {};
|
||||
}
|
||||
|
||||
if (WriteDpiToFile(path.value(), rt, gPalette))
|
||||
@@ -187,7 +187,7 @@ std::string ScreenshotDumpPNG(RenderTarget& rt)
|
||||
return path.value();
|
||||
}
|
||||
|
||||
return "";
|
||||
return {};
|
||||
}
|
||||
|
||||
static int32_t GetHighestBaseClearanceZ(const CoordsXY& location, const bool useViewClipping)
|
||||
|
||||
Reference in New Issue
Block a user