BitUnion: Fix some types in the bitunion classes.

--HG--
extra : convert_revision : 1c003f9fc9ef3a57c9199d692d172e747581f383
This commit is contained in:
Gabe Black 2007-10-07 18:12:10 -07:00
parent 63a6d7376b
commit d53552355b

View file

@ -193,7 +193,7 @@ namespace BitfieldBackend
class BitUnionOperators : public Base
{
public:
BitUnionOperators(Type & _data)
BitUnionOperators(Type const & _data)
{
Base::__data = _data;
}
@ -206,20 +206,20 @@ namespace BitfieldBackend
}
Type
operator=(const Type & _data)
operator=(Type const & _data)
{
Base::__data = _data;
return _data;
}
bool
operator<(const Base & base) const
operator<(Base const & base) const
{
return Base::__data < base.__data;
}
bool
operator==(const Base & base) const
operator==(Base const & base) const
{
return Base::__data == base.__data;
}