From: Gabe Black Date: Wed, 18 Jul 2007 23:11:16 +0000 (-0700) Subject: Fix a compilation error for SubBitUnions, X-Git-Tag: m5_2.0_beta4~297^2~40 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d21c16fd3753084f3c995fd6174c053d78529d34;p=gem5.git Fix a compilation error for SubBitUnions, --HG-- extra : convert_revision : aad9388afe81ba6541d0b18fa9777e6ffcfd871c --- 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