Skip to content
Snippets Groups Projects
Commit b2a956d4 authored by kaldoran's avatar kaldoran
Browse files

Correction of the size of the prefix, now size does not include the size of the padding

parent 4c649a82
Branches
Tags
No related merge requests found
......@@ -261,10 +261,8 @@ private:
Prefix p = Blob {k.begin()->second.begin(), k.begin()->second.end()};
auto bit_loc = p.size_ + 1;
for ( auto i = p.content_.size(); i <= keySpec_.begin()->second; i++ ) {
for ( auto i = p.content_.size(); i <= keySpec_.begin()->second; i++ )
p.content_.push_back(0);
p.size_ += 8;
}
return p.swapBit(bit_loc);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment