mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
Make it work with older compilers
This commit is contained in:
@@ -60,8 +60,8 @@ namespace OpenRCT2::Ui
|
|||||||
if (top == bottom)
|
if (top == bottom)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
x_sweep.emplace_back(left, top, bottom, true);
|
x_sweep.push_back({ left, top, bottom, true });
|
||||||
x_sweep.emplace_back(right, top, bottom, false);
|
x_sweep.push_back({ right, top, bottom, false });
|
||||||
}
|
}
|
||||||
|
|
||||||
std::sort(x_sweep.begin(), x_sweep.end(), [](const XData& a, const XData& b) -> bool {
|
std::sort(x_sweep.begin(), x_sweep.end(), [](const XData& a, const XData& b) -> bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user