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
This commit is contained in:
bemandawes
2008-10-01 15:31:55 +00:00
parent 862666b854
commit 7c671f857c

View File

@@ -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<T, sizeof(T)>(&m_value, val); }