summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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