mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove atomic include and use array for arrange functions
This commit is contained in:
parent
cf64bba0b7
commit
fc7fa91d2f
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue