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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user