Skip to content

Commit e39e572

Browse files
committed
Remove uneeded attribute in Charconv
1 parent 58ee813 commit e39e572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/decimal/charconv.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,12 +914,12 @@ BOOST_DECIMAL_EXPORT BOOST_DECIMAL_CONSTEXPR auto to_chars(char* first, char* la
914914
template <typename T>
915915
struct limits
916916
{
917-
BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int max_chars = boost::decimal::detail::max_string_length_v<T>;
917+
static constexpr int max_chars = boost::decimal::detail::max_string_length_v<T>;
918918
};
919919

920920
#if !(defined(__cpp_inline_variables) && __cpp_inline_variables >= 201606L) && (!defined(_MSC_VER) || _MSC_VER != 1900)
921921

922-
template <typename T> BOOST_DECIMAL_ATTRIBUTE_UNUSED constexpr int limits<T>::max_chars;
922+
template <typename T> constexpr int limits<T>::max_chars;
923923

924924
#endif
925925

0 commit comments

Comments
 (0)