Mercurial > hg > svcore
changeset 958:f3c97321e43d
Fix some (probably benign) uninitialised members (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 09:47:52 +0100 (2014-09-03) |
parents | df83865d886f |
children | 9a422d610058 |
files | base/ResizeableBitset.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/base/ResizeableBitset.h Wed Sep 03 09:46:28 2014 +0100 +++ b/base/ResizeableBitset.h Wed Sep 03 09:47:52 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);