Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49083 - sandbox/endian/boost/integer
From: bdawes_at_[hidden]
Date: 2008-10-01 11:31:56


Author: bemandawes
Date: 2008-10-01 11:31:55 EDT (Wed, 01 Oct 2008)
New Revision: 49083
URL: http://svn.boost.org/trac/boost/changeset/49083

Log:
Fix endian.hpp copy-and-paste error reported by Vicente Botet.
Text files modified:
   sandbox/endian/boost/integer/endian.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/endian/boost/integer/endian.hpp
==============================================================================
--- sandbox/endian/boost/integer/endian.hpp (original)
+++ sandbox/endian/boost/integer/endian.hpp 2008-10-01 11:31:55 EDT (Wed, 01 Oct 2008)
@@ -302,7 +302,7 @@
         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); }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk