From 621078abbda6fa476433a262ef7fc3e110a814cd Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sun, 6 Jan 2019 22:42:06 +0800 Subject: [PATCH] =?UTF-8?q?error:=20declared=20=E2=80=98static=E2=80=99=20?= =?UTF-8?q?in=20=E2=80=98constexpr=E2=80=99=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/memory/resource.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory/resource.hpp b/src/memory/resource.hpp index c41f9fd..78016cd 100644 --- a/src/memory/resource.hpp +++ b/src/memory/resource.hpp @@ -42,7 +42,7 @@ enum : std::size_t { }; constexpr std::size_t classify(std::size_t size) { - constexpr static std::size_t mapping[] = { + constexpr std::size_t mapping[] = { /* 1 */ 0 , 1 , 2 , 3 , /* 2 */