From 0476e851ff468aec7b584e361f70e2e5128e8914 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 9 Apr 2021 18:18:15 +0200 Subject: [PATCH] Force inline LZ4_NbCommonBytes(). --- common/tracy_lz4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tracy_lz4.cpp b/common/tracy_lz4.cpp index 951c1d5e..5a31aa75 100644 --- a/common/tracy_lz4.cpp +++ b/common/tracy_lz4.cpp @@ -512,7 +512,7 @@ LZ4_memcpy_using_offset(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const si /*-************************************ * Common functions **************************************/ -static unsigned LZ4_NbCommonBytes (reg_t val) +LZ4_FORCE_INLINE unsigned LZ4_NbCommonBytes (reg_t val) { assert(val != 0); if (LZ4_isLittleEndian()) {