summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/bitunion.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/bitunion.hh b/src/base/bitunion.hh
index 55553fd9c..98861e779 100644
--- a/src/base/bitunion.hh
+++ b/src/base/bitunion.hh
@@ -193,6 +193,13 @@ namespace BitfieldBackend
class BitUnionOperators : public Base
{
public:
+ BitUnionOperators(Type & _data)
+ {
+ Base::__data = _data;
+ }
+
+ BitUnionOperators() {}
+
operator Type () const
{
return Base::__data;