mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Reduce inclusion of FixedVector.h (#21994)
FixedVector class requires use of algorithm include, one of C++'s heaviest, while in practice it is used only in handful of places. See #21947 for methodology 372-266=106 #include <algorithm>s fewer
This commit is contained in:
committed by
GitHub
parent
10a5d790c6
commit
63e996194f
@@ -7,6 +7,7 @@
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
#include "../core/FixedVector.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../interface/Colour.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "../actions/RideSetVehicleAction.h"
|
||||
#include "../actions/TrackRemoveAction.h"
|
||||
#include "../common.h"
|
||||
#include "../core/FixedVector.h"
|
||||
#include "../entity/EntityList.h"
|
||||
#include "../entity/EntityRegistry.h"
|
||||
#include "../entity/Staff.h"
|
||||
|
||||
Reference in New Issue
Block a user