From 9a7e3fcc7a9796f814f49353fa6aff2637b044c7 Mon Sep 17 00:00:00 2001 From: Junekey Jeon Date: Fri, 3 Nov 2023 11:24:58 -0700 Subject: [PATCH] Fix a remaining C++11 compatibility issue --- include/dragonbox/dragonbox_to_chars.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dragonbox/dragonbox_to_chars.h b/include/dragonbox/dragonbox_to_chars.h index e22a2b4..32f2a60 100644 --- a/include/dragonbox/dragonbox_to_chars.h +++ b/include/dragonbox/dragonbox_to_chars.h @@ -95,7 +95,7 @@ namespace jkj::dragonbox { // Maximum required buffer size (excluding null-terminator) template inline constexpr std::size_t max_output_string_length = - std::is_same_v + std::is_same::value ? // sign(1) + significand(9) + decimal_point(1) + exp_marker(1) + exp_sign(1) + exp(2) (1 + 9 + 1 + 1 + 1 + 2)