Skip to content

Commit

Permalink
Update succinct_base.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragkh authored Mar 12, 2020
1 parent b83fcc9 commit 2812a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/succinct_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ size_t SuccinctBase::SerializeVector(std::vector<uint64_t> &v,
out.write(reinterpret_cast<const char *>(&(v_size)), sizeof(size_t));
out_size += sizeof(size_t);

for (unsigned long long & i : v) {
for (unsigned long long i : v) {
out.write(reinterpret_cast<const char *>(&i), sizeof(uint64_t));
out_size += sizeof(uint64_t);
}
Expand Down

0 comments on commit 2812a31

Please sign in to comment.