BitUnion: Fix some types in the bitunion classes.
--HG-- extra : convert_revision : 1c003f9fc9ef3a57c9199d692d172e747581f383
This commit is contained in:
parent
63a6d7376b
commit
d53552355b
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue