Skip to content

Commit 78cf82e

Browse files
committed
Add an initializer for cache_
1 parent f28dc42 commit 78cf82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: subproject/simple/include/simple_dragonbox.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ namespace jkj {
13281328
static_assert(carrier_bits >= significand_bits + 2 + floor_log2_pow10(kappa + 1));
13291329
static_assert(min_k >= format::min_k && max_k <= format::max_k);
13301330

1331-
static constexpr typename format::template cache_holder<CacheType> cache_;
1331+
static constexpr typename format::template cache_holder<CacheType> cache_{};
13321332

13331333
template <int N>
13341334
static constexpr bool check_divisibility_and_divide_by_pow10(carrier_uint& n) {

0 commit comments

Comments
 (0)