mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-04 10:41:35 -06:00
Force inline a few simple functions that Clang is refusing to inline.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user