diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-18 16:11:16 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-18 16:11:16 -0700 |
commit | d21c16fd3753084f3c995fd6174c053d78529d34 (patch) | |
tree | 6589b950e2345d4b73d703df639318110c5768a6 /src | |
parent | 3bd42af99e99f526349dda8e392009c782bd7a01 (diff) | |
download | gem5-d21c16fd3753084f3c995fd6174c053d78529d34.tar.xz |
Fix a compilation error for SubBitUnions,
--HG--
extra : convert_revision : aad9388afe81ba6541d0b18fa9777e6ffcfd871c
Diffstat (limited to 'src')
-rw-r--r-- | src/base/bitunion.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/bitunion.hh b/src/base/bitunion.hh index 98861e779..c02ca6155 100644 --- a/src/base/bitunion.hh +++ b/src/base/bitunion.hh @@ -288,7 +288,7 @@ namespace BitfieldBackend { return __data; } \ \ inline const __DataType operator = (const __DataType & _data) \ - { __data = _data; } \ + { return __data = _data;} \ } name; //Regular bitfields |