Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index 85fccbd4b4b7b697ed4ef916edfb851e364cb233..f74d7a362d15b6d042ff95e747447c5d06a38771 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -202,6 +202,8 @@ inline int StrLength(const char* string) { |
template<class T, int shift, int size> |
class BitField { |
public: |
+ typedef T ValueType; |
Vyacheslav Egorov (Chromium)
2011/06/06 12:59:22
I did not find place where it is used.
Vitaly Repeshko
2011/06/06 15:19:43
Oops, this got in from another change.
|
+ |
// Tells whether the provided value fits into the bit field. |
static bool is_valid(T value) { |
return (static_cast<uint32_t>(value) & ~((1U << (size)) - 1)) == 0; |