From 6968a42abede32b8b1a5045e1f2c012bec98a069 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 23 Feb 2020 14:40:09 +0100 Subject: [PATCH] Force inline LZ4_NbCommonBytes(). --- common/tracy_lz4.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/tracy_lz4.cpp b/common/tracy_lz4.cpp index 0b347a90..3beb660e 100644 --- a/common/tracy_lz4.cpp +++ b/common/tracy_lz4.cpp @@ -473,7 +473,8 @@ static int g_debuglog_enable = 1; /*-************************************ * Common functions **************************************/ -static unsigned LZ4_NbCommonBytes (reg_t val) +LZ4_FORCE_INLINE +unsigned LZ4_NbCommonBytes (reg_t val) { if (LZ4_isLittleEndian()) { if (sizeof(val)==8) {