From 9cba2133101d5d548bab3134e5d5718076e27b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Sun, 13 Nov 2022 16:30:05 +0100 Subject: [PATCH] Consistently use `static const` instead of `const static` --- src/engine/shared/compression.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/shared/compression.cpp b/src/engine/shared/compression.cpp index 77e060780..58cb94e01 100644 --- a/src/engine/shared/compression.cpp +++ b/src/engine/shared/compression.cpp @@ -46,8 +46,8 @@ const unsigned char *CVariableInt::Unpack(const unsigned char *pSrc, int *pInOut *pInOut = *pSrc & 0x3F; SrcSize--; - const static int s_aMasks[] = {0x7F, 0x7F, 0x7F, 0x0F}; - const static int s_aShifts[] = {6, 6 + 7, 6 + 7 + 7, 6 + 7 + 7 + 7}; + static const int s_aMasks[] = {0x7F, 0x7F, 0x7F, 0x0F}; + static const int s_aShifts[] = {6, 6 + 7, 6 + 7 + 7, 6 + 7 + 7 + 7}; for(unsigned i = 0; i < std::size(s_aMasks); i++) {