From f1dc05db630ed72c9e64070773ec6c7300a374c1 Mon Sep 17 00:00:00 2001 From: Beman Date: Fri, 15 Aug 2014 13:10:58 -0400 Subject: [PATCH] Replaced deprecated macro with BOOST_NO_CXX11_DEFAULTED_FUNCTIONS --- include/boost/endian/types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/endian/types.hpp b/include/boost/endian/types.hpp index 73e2d5f..b46fd72 100644 --- a/include/boost/endian/types.hpp +++ b/include/boost/endian/types.hpp @@ -53,13 +53,13 @@ # error Platforms with CHAR_BIT != 8 are not supported # endif -# ifdef BOOST_NO_DEFAULTED_FUNCTIONS +# ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS # define BOOST_ENDIAN_DEFAULT_CONSTRUCT {} // C++03 # else # define BOOST_ENDIAN_DEFAULT_CONSTRUCT = default; // C++0x # 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 # endif