File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ int main()
1818 *r_to.ptr = ' \0 ' ;
1919
2020 decimal64 return_value;
21- auto r_from = from_chars (buffer, buffer + std::strlen (buffer), return_value);
21+ BOOST_DECIMAL_ATTRIBUTE_UNUSED auto r_from = from_chars (buffer, buffer + std::strlen (buffer), return_value);
2222 assert (r_from);
2323
2424 assert (val == return_value);
Original file line number Diff line number Diff line change 77
88int main ()
99{
10- auto default_rounding_mode = boost::decimal::fegetround (); // Default is fe_dec_to_nearest_from_zero
10+ BOOST_DECIMAL_ATTRIBUTE_UNUSED auto default_rounding_mode = boost::decimal::fegetround (); // Default is fe_dec_to_nearest_from_zero
1111
12- auto new_rounding_mode = boost::decimal::fesetround (boost::decimal::rounding_mode::fe_dec_to_nearest);
12+ BOOST_DECIMAL_ATTRIBUTE_UNUSED auto new_rounding_mode = boost::decimal::fesetround (boost::decimal::rounding_mode::fe_dec_to_nearest);
1313
1414 assert (default_rounding_mode != new_rounding_mode);
1515
You can’t perform that action at this time.
0 commit comments