From 4f94b4dbb7ed679d4c849023968b1c377d72b774 Mon Sep 17 00:00:00 2001 From: Sour Date: Sun, 17 Jun 2018 09:14:58 -0400 Subject: [PATCH] Linux: Fixed build error with gcc/clang --- Core/Unl158B.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Unl158B.h b/Core/Unl158B.h index d0e9e98f..dd06682f 100644 --- a/Core/Unl158B.h +++ b/Core/Unl158B.h @@ -6,7 +6,7 @@ class Unl158B : public MMC3 { private: - static constexpr uint8_t _protectionLut[8] = { 0x00, 0x00, 0x00, 0x01, 0x02, 0x04, 0x0F, 0x00 }; + const uint8_t _protectionLut[8] = { 0x00, 0x00, 0x00, 0x01, 0x02, 0x04, 0x0F, 0x00 }; uint8_t _reg; protected: