Remove force inline for SectionEnter.

gcc breaks on this:
error: function ‘static uint32_t tracy::Profiler::SectionEnter(const char*, ...)’ can never be inlined because it uses variable argument lists
This commit is contained in:
Bartosz Taudul
2026-07-08 18:04:01 +02:00
parent bd8246cba0
commit d565afde82

View File

@@ -795,7 +795,7 @@ public:
}
#endif
static tracy_force_inline uint32_t SectionEnter( const char* fmt, ... ) TRACY_ATTRIBUTE_FORMAT_PRINTF( 1, 2 )
static uint32_t SectionEnter( const char* fmt, ... ) TRACY_ATTRIBUTE_FORMAT_PRINTF( 1, 2 )
{
auto& profiler = GetProfiler();
#ifdef TRACY_ON_DEMAND