1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Remove atomic include and use array for arrange functions

This commit is contained in:
ζeh Matt
2023-04-16 16:58:15 +03:00
parent cf64bba0b7
commit fc7fa91d2f

View File

@@ -26,7 +26,6 @@
#include <algorithm>
#include <array>
#include <atomic>
using namespace OpenRCT2;
@@ -490,7 +489,7 @@ template<int TRotation> static void PaintSessionArrangeImpl(PaintSessionCore& se
using PaintArrangeWithRotation = void (*)(PaintSessionCore& session);
constexpr PaintArrangeWithRotation _paintArrangeFuncs[4] = {
constexpr std::array _paintArrangeFuncs = {
PaintSessionArrangeImpl<0>,
PaintSessionArrangeImpl<1>,
PaintSessionArrangeImpl<2>,