- Timestamp:
- 11/20/07 23:45:14 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/trunk/Sources_Common/Application/Preferences/CMatchItem.cp
r19 r143 68 68 { 69 69 // Count number of true items in selected range 70 return ::count(mBitsSet.begin() + eSelected_First, mBitsSet.begin() + eSelected_Last + 1, true); 70 bool val = true; 71 return ::count(mBitsSet.begin() + eSelected_First, mBitsSet.begin() + eSelected_Last + 1, val); 71 72 } 72 73 … … 74 75 { 75 76 // If nothing selected return 76 size_t bitsset = ::count(mBitsSet.begin(), mBitsSet.end(), true); 77 bool val = true; 78 size_t bitsset = ::count(mBitsSet.begin(), mBitsSet.end(), val); 77 79 bitsset += mSearchSet.size(); 78 80 if (!bitsset)