From b1e63f98edb3253a52e677bef56028d90b8589ee Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 18 Feb 2016 18:07:45 +1100 Subject: [PATCH] Fix build with some clang versions --- src/osd/modules/render/drawbgfx.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osd/modules/render/drawbgfx.h b/src/osd/modules/render/drawbgfx.h index 29a91c3094c..86619eab718 100644 --- a/src/osd/modules/render/drawbgfx.h +++ b/src/osd/modules/render/drawbgfx.h @@ -100,9 +100,9 @@ private: rectangle_packer m_packer; uint32_t m_white[16*16]; - static const uint16_t CACHE_SIZE = 1024; - static const uint32_t PACKABLE_SIZE = 128; - static const UINT32 WHITE_HASH = 0x87654321; + enum : uint16_t { CACHE_SIZE = 1024 }; + enum : uint32_t { PACKABLE_SIZE = 128 }; + enum : UINT32 { WHITE_HASH = 0x87654321 }; }; -#endif \ No newline at end of file +#endif