mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Fix GCC issues
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user