summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-07 18:12:10 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-07 18:12:10 -0700
commitd53552355b35d68eaafa662e2ba8f917dd4bc08b (patch)
tree12b223c9a3e5fc0176d338f98302ffacee202f86 /src/base
parent63a6d7376b539d7da7143217f936b4ee4f984b26 (diff)
downloadgem5-d53552355b35d68eaafa662e2ba8f917dd4bc08b.tar.xz
BitUnion: Fix some types in the bitunion classes.
--HG-- extra : convert_revision : 1c003f9fc9ef3a57c9199d692d172e747581f383
Diffstat (limited to 'src/base')
-rw-r--r--src/base/bitunion.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/bitunion.hh b/src/base/bitunion.hh
index c02ca6155..7f7b06966 100644
--- a/src/base/bitunion.hh
+++ b/src/base/bitunion.hh
@@ -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;
}