forked from boostorg/endian
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:
1 parent
862666b854
commit
7c671f857c
1 file changed
+1
-1
@@ -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); }
|
||||
|
||||
Reference in new issue
Block a user