diff --git a/src/contrib/dragonbox.h b/src/contrib/dragonbox.h index 499a157..de5a79f 100644 --- a/src/contrib/dragonbox.h +++ b/src/contrib/dragonbox.h @@ -4023,44 +4023,44 @@ namespace jkj { // Policy kind detectors. struct is_sign_policy { - constexpr bool operator()(...) noexcept { return false; } + constexpr bool operator()(...) const noexcept { return false; } template - constexpr bool operator()(dummy) noexcept { + constexpr bool operator()(dummy) const noexcept { return true; } }; struct is_trailing_zero_policy { - constexpr bool operator()(...) noexcept { return false; } + constexpr bool operator()(...) const noexcept { return false; } template - constexpr bool operator()(dummy) noexcept { + constexpr bool operator()(dummy) const noexcept { return true; } }; struct is_decimal_to_binary_rounding_policy { - constexpr bool operator()(...) noexcept { return false; } + constexpr bool operator()(...) const noexcept { return false; } template - constexpr bool operator()(dummy) noexcept { + constexpr bool operator()(dummy) const noexcept { return true; } }; struct is_binary_to_decimal_rounding_policy { - constexpr bool operator()(...) noexcept { return false; } + constexpr bool operator()(...) const noexcept { return false; } template - constexpr bool operator()(dummy) noexcept { + constexpr bool operator()(dummy) const noexcept { return true; } }; struct is_cache_policy { - constexpr bool operator()(...) noexcept { return false; } + constexpr bool operator()(...) const noexcept { return false; } template - constexpr bool operator()(dummy) noexcept { + constexpr bool operator()(dummy) const noexcept { return true; } }; struct is_preferred_integer_types_policy { - constexpr bool operator()(...) noexcept { return false; } + constexpr bool operator()(...) const noexcept { return false; } template - constexpr bool operator()(dummy) noexcept { + constexpr bool operator()(dummy) const noexcept { return true; } };