From d53552355b35d68eaafa662e2ba8f917dd4bc08b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 7 Oct 2007 18:12:10 -0700 Subject: [PATCH] BitUnion: Fix some types in the bitunion classes. --HG-- extra : convert_revision : 1c003f9fc9ef3a57c9199d692d172e747581f383 --- src/base/bitunion.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/base/bitunion.hh b/src/base/bitunion.hh index c02ca6155..7f7b06966 100644 --- a/src/base/bitunion.hh +++ b/src/base/bitunion.hh @@ -193,7 +193,7 @@ namespace BitfieldBackend class BitUnionOperators : public Base { public: - BitUnionOperators(Type & _data) + BitUnionOperators(Type const & _data) { Base::__data = _data; } @@ -206,20 +206,20 @@ namespace BitfieldBackend } Type - operator=(const Type & _data) + operator=(Type const & _data) { Base::__data = _data; return _data; } bool - operator<(const Base & base) const + operator<(Base const & base) const { return Base::__data < base.__data; } bool - operator==(const Base & base) const + operator==(Base const & base) const { return Base::__data == base.__data; } -- 2.30.2