From fe6b3f275df8e714bee1cb34304be7cd86592d19 Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Mon, 5 Dec 2016 14:38:51 +0100 Subject: [PATCH] Remove const --- libpopcnt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libpopcnt.h b/libpopcnt.h index e2f8fe9..2591b51 100644 --- a/libpopcnt.h +++ b/libpopcnt.h @@ -287,19 +287,19 @@ inline uint64_t popcnt_harley_seal(const uint64_t* data, uint64_t size) #if defined(_MSC_VER) /// Define missing & operator overload for __m256i type on MSVC compiler -inline __m256i operator&(const __m256i a, const __m256i b) +inline __m256i operator&(__m256i a, __m256i b) { return _mm256_and_si256(a, b); } /// Define missing | operator overload for __m256i type on MSVC compiler -inline __m256i operator|(const __m256i a, const __m256i b) +inline __m256i operator|(__m256i a, __m256i b) { return _mm256_or_si256(a, b); } /// Define missing ^ operator overload for __m256i type on MSVC compiler -inline __m256i operator^(const __m256i a, const __m256i b) +inline __m256i operator^(__m256i a, __m256i b) { return _mm256_xor_si256(a, b); }