forked from boostorg/system
Disable the constexpr constructors on GCC 4.7
This commit is contained in:
@ -13,6 +13,7 @@
|
|||||||
#include <boost/system/detail/config.hpp>
|
#include <boost/system/detail/config.hpp>
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/config/workaround.hpp>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -116,11 +117,18 @@ protected:
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BOOST_CONSTEXPR error_category() BOOST_NOEXCEPT: id_( 0 ), stdcat_(), sc_init_()
|
#if !BOOST_WORKAROUND(BOOST_GCC, < 40800)
|
||||||
|
BOOST_CONSTEXPR
|
||||||
|
#endif
|
||||||
|
error_category() BOOST_NOEXCEPT: id_( 0 ), stdcat_(), sc_init_()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
explicit BOOST_CONSTEXPR error_category( boost::ulong_long_type id ) BOOST_NOEXCEPT: id_( id ), 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_()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user