#UE4 CIS fix for Mac

[FYI] Ori.Cohen

#ROBOMERGE-AUTHOR: Ori.Cohen
#ROBOMERGE-SOURCE: CL 12939935 via CL 12939937 via CL 12939942 via CL 12939947
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12939949 by bob tellez in Main branch]
This commit is contained in:
bob tellez
2020-04-20 17:52:42 -04:00
parent da7560f035
commit f6319c9a53
2 changed files with 9 additions and 1 deletions

View File

@@ -912,7 +912,11 @@ protected:
TUniquePtr<ISpatialAccelerationCollectionFactory> SpatialCollectionFactory;
};
#if PLATFORM_MAC
#define EVOLUTION_TRAIT(Trait) extern template class CHAOS_API TPBDRigidsEvolutionBase<Trait>;
#else
#define EVOLUTION_TRAIT(Trait) extern template class TPBDRigidsEvolutionBase<Trait>;
#endif
#include "Chaos/EvolutionTraits.inl"
#undef EVOLUTION_TRAIT

View File

@@ -254,7 +254,11 @@ namespace Chaos
FPBDRigidsEvolutionInternalHandleCallback InternalParticleInitilization;
};
#define EVOLUTION_TRAIT(Trait) extern template class TPBDRigidsEvolutionGBF<Trait>;
#if PLATFORM_MAC
#define EVOLUTION_TRAIT(Trait) extern template class CHAOS_API TPBDRigidsEvolutionBase<Trait>;
#else
#define EVOLUTION_TRAIT(Trait) extern template class TPBDRigidsEvolutionBase<Trait>;
#endif
#include "Chaos/EvolutionTraits.inl"
#undef EVOLUTION_TRAIT
}