actually remove operator bool, but keep operator WType

This commit is contained in:
rdb 2012-03-19 09:41:49 +00:00
parent 47f3933489
commit 32ec1fbc77
2 changed files with 2 additions and 11 deletions

View File

@ -833,17 +833,6 @@ operator WType () const {
return _word;
}
////////////////////////////////////////////////////////////////////
// Function: BitMask::operator bool
// Access: Published
// Description: Will return true, unless all bits are off.
////////////////////////////////////////////////////////////////////
template<class WType, int nbits>
INLINE BitMask<WType, nbits>::
operator bool () const {
return (_word != 0);
}
////////////////////////////////////////////////////////////////////
// Function: BitMask::get_key
// Access: Published

View File

@ -118,6 +118,8 @@ PUBLISHED:
INLINE void operator <<= (int shift);
INLINE void operator >>= (int shift);
INLINE operator WType () const;
INLINE void flood_down_in_place();
INLINE void flood_up_in_place();
INLINE BitMask<WType, nbits> flood_bits_down() const;