Reduce inclusion of FixedVector.h

FixedVector class requires use of algorithm include, one of C++'s
heaviest, while in practice it is used only in handful of places.
This commit is contained in:
Michał Janiszewski 2024-05-09 14:01:31 +02:00
parent 10a5d790c6
commit 4bce578b0d
3 changed files with 2 additions and 1 deletions

View File

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

View File

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

View File

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