Specify 'inline' in addition to always_inline attribute.
Specify both inline and __attribute__((always_inline)), in order to avoid warnings when using newer versions of gcc.
This commit is contained in:
parent
d1b6e18a99
commit
dd0438ee6b
@ -241,7 +241,7 @@ static const bool config_ivsalloc =
|
||||
# define JEMALLOC_ENABLE_INLINE
|
||||
# ifdef JEMALLOC_HAVE_ATTR
|
||||
# define JEMALLOC_ALWAYS_INLINE \
|
||||
static JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline)
|
||||
static inline JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline)
|
||||
# else
|
||||
# define JEMALLOC_ALWAYS_INLINE static inline
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user