]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/container/hashfunc.h
libs: remove deprecated non-replaced “register“ storage class
[xonotic/netradiant.git] / libs / container / hashfunc.h
index 95724ea41c6fb3929c2a714ab511f0cbb281c7c7..fa796e5e6efa7ab7ea325d713101ee72c8f07df7 100644 (file)
@@ -182,7 +182,7 @@ inline ub4 hash(
        const UB1Traits& ub1traits,
        const UB4x1Traits& ub4x1traits
        ){
-       register ub4 a,b,c,len;
+       ub4 a,b,c,len;
 
        /* Set up the internal state */
        len = length;
@@ -255,7 +255,7 @@ inline ub4 hash2(
        ub4 initval, /* the previous hash, or an arbitrary value */
        const UB4Traits& ub4traits
        ){
-       register ub4 a,b,c,len;
+       ub4 a,b,c,len;
 
        /* Set up the internal state */
        len = length;