summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vespalib/src/vespa/vespalib/util/bobhash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vespalib/src/vespa/vespalib/util/bobhash.h b/vespalib/src/vespa/vespalib/util/bobhash.h
index bc4fc3876fc..c55f9086801 100644
--- a/vespalib/src/vespa/vespalib/util/bobhash.h
+++ b/vespalib/src/vespa/vespalib/util/bobhash.h
@@ -101,10 +101,10 @@ public:
*/
static uint32_t hash(const char *orig_k,
- register uint32_t length,
- register uint32_t initval) {
- register uint32_t a,b,c,len;
- register const unsigned char *k;
+ uint32_t length,
+ uint32_t initval) {
+ uint32_t a,b,c,len;
+ const unsigned char *k;
k = reinterpret_cast<const unsigned char *>(orig_k);
/* Set up the internal state */