Mercurial > hg > svcore
diff base/ResizeableBitset.h @ 980:6e6da0636e5e tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:36:21 +0100 |
parents | f3c97321e43d |
children | cc27f35aa75c |
line wrap: on
line diff
--- a/base/ResizeableBitset.h Tue Sep 02 16:23:48 2014 +0100 +++ b/base/ResizeableBitset.h Tue Sep 09 16:36:21 2014 +0100 @@ -24,7 +24,7 @@ class ResizeableBitset { public: - ResizeableBitset() : m_bits(0) { + ResizeableBitset() : m_bits(0), m_size(0) { } ResizeableBitset(size_t size) : m_bits(new std::vector<uint8_t>), m_size(size) { m_bits->assign((size >> 3) + 1, 0);