Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index dcefa44070308d1445ef0734f06cdc1cf2c1d8b2..d5685c98207d3a2211919f4a0dbbafef2b980304 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -230,6 +230,14 @@ class BitFieldBase { |
}; |
+template <class T, int shift, int size> |
+class BitField8 : public BitFieldBase<T, shift, size, uint8_t> {}; |
+ |
+ |
+template <class T, int shift, int size> |
+class BitField16 : public BitFieldBase<T, shift, size, uint16_t> {}; |
+ |
+ |
template<class T, int shift, int size> |
class BitField : public BitFieldBase<T, shift, size, uint32_t> { }; |