fix big endian machine typo

git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@72129 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
bemandawes
2011-05-24 11:25:19 +00:00
parent 286130ba03
commit 34867639ea

View File

@@ -285,7 +285,7 @@ namespace boost
# endif
# endif
# ifdef BOOST_BIG_ENDIAN
endian & operator=(T val) { m_value = val); return *this; }
endian & operator=(T val) { m_value = val; return *this; }
operator T() const { return m_value; }
# else
endian & operator=(T val) { detail::store_big_endian<T, sizeof(T)>(&m_value, val); return *this; }