Skip to content
Snippets Groups Projects
Commit 0dc7d272 authored by Simon Désaulniers's avatar Simon Désaulniers Committed by Adrien Béraud
Browse files

Revert "[Bug] Correction of function commonBits"

parent 6d775a10
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ struct Prefix { ...@@ -87,7 +87,7 @@ struct Prefix {
auto longest_prefix_size = std::min(p1.size_, p2.size_); auto longest_prefix_size = std::min(p1.size_, p2.size_);
for (i = 0; i < longest_prefix_size; i++) { for (i = 0; i < longest_prefix_size; i++) {
if (p1.content_.data()[i] != p2.content_.data()[i] || i == longest_prefix_size) if (p1.content_.data()[i] != p2.content_.data()[i])
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment