summaryrefslogtreecommitdiff
path: root/src/base/bitfield.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/bitfield.hh')
-rw-r--r--src/base/bitfield.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/bitfield.hh b/src/base/bitfield.hh
index ca0c06770..69cce2245 100644
--- a/src/base/bitfield.hh
+++ b/src/base/bitfield.hh
@@ -157,7 +157,7 @@ namespace BitfieldBackend
//responsibility to make sure that there is a properly overloaded
//version of this function for whatever type they want to overlay.
inline uint64_t
- getBits(int first, int last)
+ getBits(int first, int last) const
{
return bits(__data, first, last);
}