From 7c671f857c403f154d5771be7addd0b9009f70b3 Mon Sep 17 00:00:00 2001 From: bemandawes Date: Wed, 1 Oct 2008 15:31:55 +0000 Subject: [PATCH] Fix endian.hpp copy-and-paste error reported by Vicente Botet. git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@49083 b8fc166d-592f-0410-95f2-cb63ce0dd405 --- boost/integer/endian.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/integer/endian.hpp b/boost/integer/endian.hpp index a860e9c..62468da 100644 --- a/boost/integer/endian.hpp +++ b/boost/integer/endian.hpp @@ -302,7 +302,7 @@ namespace boost typedef T value_type; # ifndef BOOST_ENDIAN_NO_CTORS endian() BOOST_ENDIAN_DEFAULT_CONSTRUCT -# ifdef BOOST_BIG_ENDIAN +# ifdef BOOST_LITTLE_ENDIAN endian(T val) : m_value(val) { } # else explicit endian(T val) { detail::store_little_endian(&m_value, val); }