Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2015-10-21 14:47:25 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:02:28 +0300
commit4e33a1f23cbfa9b5822feb7aded52d73fa808dcc (patch)
tree68e8421a26005cd3c13224adfc1c650afdb9d515 /coding/compressed_bit_vector.cpp
parent2ef3f59f92b5fbace5c600cd968b8d0e795529e0 (diff)
Some review fixes.
Diffstat (limited to 'coding/compressed_bit_vector.cpp')
-rw-r--r--coding/compressed_bit_vector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/coding/compressed_bit_vector.cpp b/coding/compressed_bit_vector.cpp
index d6ef51dd03..da80b04d42 100644
--- a/coding/compressed_bit_vector.cpp
+++ b/coding/compressed_bit_vector.cpp
@@ -185,6 +185,7 @@ DenseCBV::DenseCBV(vector<uint64_t> const & setBits)
{
if (setBits.empty())
{
+ m_popCount = 0;
return;
}
uint64_t const maxBit = *max_element(setBits.begin(), setBits.end());