diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-04 12:08:00 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-05 10:54:38 +0200 |
commit | 567172fa011d1bf5f23e71bd180cf466fa987dba (patch) | |
tree | b33922d6c02e38802df31f4108ef6a634ba4f116 /vespalib | |
parent | 6d16ac808e0fb672f49727e080d3957c270f26db (diff) |
ISO C++1z does not allow ‘register’ storage class specifier (gcc 7)
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/bobhash.h | 8 |
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 */ |