summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-18 16:11:16 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-18 16:11:16 -0700
commitd21c16fd3753084f3c995fd6174c053d78529d34 (patch)
tree6589b950e2345d4b73d703df639318110c5768a6
parent3bd42af99e99f526349dda8e392009c782bd7a01 (diff)
downloadgem5-d21c16fd3753084f3c995fd6174c053d78529d34.tar.xz
Fix a compilation error for SubBitUnions,
--HG-- extra : convert_revision : aad9388afe81ba6541d0b18fa9777e6ffcfd871c
-rw-r--r--src/base/bitunion.hh2
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