1
0
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:
Garv Changrani
2025-07-02 17:03:54 +05:30
committed by GitHub
parent 62418a9588
commit b47506dd90
19 changed files with 23 additions and 23 deletions

View File

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