mirror of
https://github.com/boostorg/endian.git
synced 2025-08-02 05:54:31 +02:00
Replaced deprecated macro with BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
This commit is contained in:
@@ -53,13 +53,13 @@
|
|||||||
# error Platforms with CHAR_BIT != 8 are not supported
|
# error Platforms with CHAR_BIT != 8 are not supported
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef BOOST_NO_DEFAULTED_FUNCTIONS
|
# ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||||
# define BOOST_ENDIAN_DEFAULT_CONSTRUCT {} // C++03
|
# define BOOST_ENDIAN_DEFAULT_CONSTRUCT {} // C++03
|
||||||
# else
|
# else
|
||||||
# define BOOST_ENDIAN_DEFAULT_CONSTRUCT = default; // C++0x
|
# define BOOST_ENDIAN_DEFAULT_CONSTRUCT = default; // C++0x
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if defined(BOOST_NO_DEFAULTED_FUNCTIONS) && defined(BOOST_ENDIAN_FORCE_PODNESS)
|
# if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && defined(BOOST_ENDIAN_FORCE_PODNESS)
|
||||||
# define BOOST_ENDIAN_NO_CTORS
|
# define BOOST_ENDIAN_NO_CTORS
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user