Changeset 7268 for code/trunk/src/libraries/util/mbool.h
- Timestamp:
- Aug 30, 2010, 7:34:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/util/mbool.h
r6417 r7268 42 42 { this->value_.memory_ = value.value_.memory_; } 43 43 44 inline constmbool& operator=(bool value)44 inline mbool& operator=(bool value) 45 45 { if (value != this->value_.bool_) { ++this->value_.memory_; } return (*this); } 46 inline constmbool& operator=(const mbool& value)46 inline mbool& operator=(const mbool& value) 47 47 { this->value_.memory_ = value.value_.memory_; return (*this); } 48 48
Note: See TracChangeset
for help on using the changeset viewer.