From d839e9d74f81fcd82e10bf9af813886041326ee0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 23 May 2019 07:13:22 +0900 Subject: [PATCH] Remove const keyword for int32_t return (#5249) Remove const keyword for int32_t return in cker Signed-off-by: Hyeongseok Oh --- libs/cker/include/cker/gemmlowp/FixedPoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cker/include/cker/gemmlowp/FixedPoint.h b/libs/cker/include/cker/gemmlowp/FixedPoint.h index 3ed9778..63564c3 100644 --- a/libs/cker/include/cker/gemmlowp/FixedPoint.h +++ b/libs/cker/include/cker/gemmlowp/FixedPoint.h @@ -114,7 +114,7 @@ public: static constexpr int kFractionalBits = kTotalBits - 1 - kIntegerBits; static_assert(kIntegerBits >= 0 && kIntegerBits < kTotalBits, "bad IntegerBits"); - static const int32_t ScalarRawMax() { return std::numeric_limits::max(); } + static int32_t ScalarRawMax() { return std::numeric_limits::max(); } static FixedPoint FromRaw(int32_t x) { -- 2.7.4