Force inline a few simple functions that Clang is refusing to inline.

This commit is contained in:
Skyth
2024-10-18 16:30:35 +03:00
parent d29dd06dce
commit 64d9cfbd9b
5 changed files with 18 additions and 16 deletions

View File

@@ -97,7 +97,7 @@ struct DirtyStates
static DirtyStates g_dirtyStates(true);
template<typename T>
static void SetDirtyValue(bool& dirtyState, T& dest, const T& src)
static FORCEINLINE void SetDirtyValue(bool& dirtyState, T& dest, const T& src)
{
if (dest != src)
{