From 91d714f1a40b814edb6557626c3dbbd4d5c60245 Mon Sep 17 00:00:00 2001 From: Junekey Jeon Date: Wed, 22 Sep 2021 16:45:17 -0700 Subject: [PATCH] Add `static` to a table --- include/fmt/format-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index b7d882703ce2..d1c24288df2c 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -1071,7 +1071,7 @@ template <> struct cache_accessor { static uint64_t get_cached_power(int k) FMT_NOEXCEPT { FMT_ASSERT(k >= float_info::min_k && k <= float_info::max_k, "k is out of range"); - constexpr const uint64_t pow10_significands[] = { + static constexpr const uint64_t pow10_significands[] = { 0x81ceb32c4b43fcf5, 0xa2425ff75e14fc32, 0xcad2f7f5359a3b3f, 0xfd87b5f28300ca0e, 0x9e74d1b791e07e49, 0xc612062576589ddb, 0xf79687aed3eec552, 0x9abe14cd44753b53, 0xc16d9a0095928a28,