1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Fix GCC issues

This commit is contained in:
Ted John
2020-02-22 18:04:27 +00:00
parent facd557355
commit 639faa2085
15 changed files with 45 additions and 51 deletions

View File

@@ -216,7 +216,7 @@ namespace OpenRCT2::Ui::Windows
});
}
return std::move(result);
return result;
}
static std::optional<int32_t> GetOptionalInt(DukValue input)
@@ -695,7 +695,7 @@ namespace OpenRCT2::Ui::Windows
if (w->custom_info != nullptr)
{
auto& customInfo = GetInfo(w);
for (rct_widgetindex i = 0; i < customInfo.Widgets.size(); i++)
for (size_t i = 0; i < customInfo.Widgets.size(); i++)
{
auto customWidgetInfo = customInfo.GetCustomWidgetDesc(i);
if (customWidgetInfo != nullptr)