From 195b34f77532d1df1f9d6e6ba18ae7cc786b715a Mon Sep 17 00:00:00 2001 From: jwellbelove Date: Tue, 13 Dec 2016 09:36:23 +0000 Subject: [PATCH] Fixed compile errors. --- src/jenkins.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/jenkins.h b/src/jenkins.h index 0c500e3c..3cffc790 100644 --- a/src/jenkins.h +++ b/src/jenkins.h @@ -39,9 +39,10 @@ SOFTWARE. #include "type_traits.h" #include "error_handler.h" #include "ihash.h" +#include "frame_check_sequence.h" #if defined(ETL_COMPILER_KEIL) -#pragma diag_suppress 1300 +#pragma diag_suppress 1300 #endif ///\defgroup jenkins Jenkins 32 & 64 bit hash calculations @@ -57,7 +58,7 @@ namespace etl { typedef uint32_t value_type; - inline uint32_t initial() const + inline uint32_t initial() { is_finalised = false; @@ -75,7 +76,7 @@ namespace etl return hash; } - inline uint32_t final(uint8_t hash) const + inline uint32_t final(uint8_t hash) { hash += (hash << 3); hash ^= (hash >> 11); @@ -96,7 +97,7 @@ namespace etl { typedef uint64_t value_type; - inline uint64_t initial() const + inline uint64_t initial() { is_finalised = false; @@ -114,7 +115,7 @@ namespace etl return hash; } - inline uint64_t final(uint8_t hash) const + inline uint64_t final(uint8_t hash) { hash += (hash << 3); hash ^= (hash >> 11);