mirror of
https://github.com/boostorg/endian.git
synced 2025-08-01 05:24:39 +02:00
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:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user