Remove uses of BOOST_CONSTEXPR

This commit is contained in:
Peter Dimov
2024-01-17 07:09:31 +02:00
parent e0b0118406
commit 128fd9341f
2 changed files with 3 additions and 13 deletions

View File

@ -84,18 +84,11 @@ protected:
~error_category() = default;
#if !BOOST_WORKAROUND(BOOST_GCC, < 40800)
BOOST_CONSTEXPR
#endif
error_category() BOOST_NOEXCEPT: id_( 0 ), stdcat_(), sc_init_()
constexpr error_category() BOOST_NOEXCEPT: id_( 0 ), stdcat_(), sc_init_()
{
}
explicit
#if !BOOST_WORKAROUND(BOOST_GCC, < 40800)
BOOST_CONSTEXPR
#endif
error_category( boost::ulong_long_type id ) BOOST_NOEXCEPT: id_( id ), stdcat_(), sc_init_()
explicit constexpr error_category( boost::ulong_long_type id ) BOOST_NOEXCEPT: id_( id ), stdcat_(), sc_init_()
{
}

View File

@ -108,10 +108,7 @@ public:
// constructors:
#if !BOOST_WORKAROUND(BOOST_GCC, < 40800)
BOOST_CONSTEXPR
#endif
error_code() BOOST_NOEXCEPT:
constexpr error_code() BOOST_NOEXCEPT:
d1_(), lc_flags_( 0 )
{
}