Make always_inline function inline
Try to fix warning in jenkins
This commit is contained in:
@@ -1850,9 +1850,9 @@ bool scan16(const InternalVersionT *vs, const uint8_t *is, int begin, int end,
|
|||||||
// Returns true if v[i] <= readVersion for all i such that begin <= i < end
|
// Returns true if v[i] <= readVersion for all i such that begin <= i < end
|
||||||
//
|
//
|
||||||
// always_inline So that we can optimize when begin or end is a constant.
|
// always_inline So that we can optimize when begin or end is a constant.
|
||||||
__attribute((always_inline)) bool scan16(const InternalVersionT *vs, int begin,
|
inline __attribute((always_inline)) bool scan16(const InternalVersionT *vs,
|
||||||
int end,
|
int begin, int end,
|
||||||
InternalVersionT readVersion) {
|
InternalVersionT readVersion) {
|
||||||
assert(0 <= begin && begin < 16);
|
assert(0 <= begin && begin < 16);
|
||||||
assert(0 <= end && end <= 16);
|
assert(0 <= end && end <= 16);
|
||||||
assert(begin <= end);
|
assert(begin <= end);
|
||||||
|
Reference in New Issue
Block a user