Skip to content

Commit 392f33b

Browse files
committed
Merge pull request etr#59 from philipp-classen/master
Deprecation warning fixed
2 parents 9bae50c + 104c396 commit 392f33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver/http_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ struct ip_representation
303303
const int weight() const
304304
{
305305
//variable-precision SWAR algorithm
306-
register unsigned int x = mask;
306+
unsigned int x = mask;
307307
x = x - ((x >> 1) & 0x55555555);
308308
x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
309309
return (((x + (x >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24;

0 commit comments

Comments
 (0)