We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bae50c + 104c396 commit 392f33bCopy full SHA for 392f33b
src/httpserver/http_utils.hpp
@@ -303,7 +303,7 @@ struct ip_representation
303
const int weight() const
304
{
305
//variable-precision SWAR algorithm
306
- register unsigned int x = mask;
+ unsigned int x = mask;
307
x = x - ((x >> 1) & 0x55555555);
308
x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
309
return (((x + (x >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24;
0 commit comments