Skip to content

Commit 392e7b4

Browse files
committed
replace gcc force inline with "inline"
1 parent 020666a commit 392e7b4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cube/pg/hll/MurmurHash3.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
#include <stdint.h>
1414

15-
#define FORCE_INLINE __attribute__((always_inline))
16-
1715
//-----------------------------------------------------------------------------
1816

1917
void MurmurHash3_x64_128 ( const void * key, int len, uint32_t seed, void * out );
@@ -30,12 +28,12 @@ inline uint64_t rotl64 ( uint64_t x, int8_t r )
3028

3129
#define BIG_CONSTANT(x) (x##LLU)
3230

33-
FORCE_INLINE uint64_t getblock ( const uint64_t * p, int i )
31+
inline uint64_t getblock ( const uint64_t * p, int i )
3432
{
3533
return p[i];
3634
}
3735

38-
FORCE_INLINE uint64_t fmix ( uint64_t k )
36+
inline uint64_t fmix ( uint64_t k )
3937
{
4038
k ^= k >> 33;
4139
k *= BIG_CONSTANT(0xff51afd7ed558ccd);

0 commit comments

Comments
 (0)