|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64474 - sandbox/SOC/2010/bit_masks/boost/bitfield
From: bbartmanboost_at_[hidden]
Date: 2010-07-30 13:14:41
Author: bbartman
Date: 2010-07-30 13:14:40 EDT (Fri, 30 Jul 2010)
New Revision: 64474
URL: http://svn.boost.org/trac/boost/changeset/64474
Log:
broke something under msvc committing fix
Text files modified:
sandbox/SOC/2010/bit_masks/boost/bitfield/bitfield_orignal.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/boost/bitfield/bitfield_orignal.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/bitfield/bitfield_orignal.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/bitfield/bitfield_orignal.hpp 2010-07-30 13:14:40 EDT (Fri, 30 Jul 2010)
@@ -89,10 +89,10 @@
}
};
#ifdef BOOST_MSVC
- template <typename value_type, unsigned int WIDTH, unsigned int SIGN_MASK>
- struct bitfield_complete_signed<false, value_type, bool, WIDTH, SIGN_MASK> {
- static value_type convert(bool val) {
- return value_type(val) > 0;
+ template <typename StorageType, unsigned int WIDTH, unsigned int SIGN_MASK>
+ struct bitfield_complete_signed<false, bool, StorageType, WIDTH, SIGN_MASK> {
+ static bool convert(StorageType val) {
+ return val > 0;
}
};
#endif
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