From 8db550d25121b04a3631a3aafd20a6f50c5db6dd Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 30 Oct 2021 15:58:07 +0300 Subject: [PATCH] - fixed compilation of POSIX Debug targets src/rendering/2d/f_wipe.cpp:291: undefined reference to `Wiper_Melt::HEIGHT' --- src/rendering/2d/f_wipe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/2d/f_wipe.cpp b/src/rendering/2d/f_wipe.cpp index fd7d02df8c7..c9d49d2eeaa 100644 --- a/src/rendering/2d/f_wipe.cpp +++ b/src/rendering/2d/f_wipe.cpp @@ -160,7 +160,7 @@ class Wiper_Melt : public Wiper bool Run(int ticks) override; private: - static const int WIDTH = 320, HEIGHT = 200; + static constexpr int WIDTH = 320, HEIGHT = 200; int y[WIDTH]; };