You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix for compile error in FMath::Wrap due to using a check() in a constexpr context.
[CL 30016100 by steve robb in ue5-main branch]
This commit is contained in:
@@ -609,7 +609,8 @@ public:
|
||||
template< class T >
|
||||
UE_NODISCARD static constexpr FORCEINLINE T Wrap(const T X, const T Min, const T Max)
|
||||
{
|
||||
checkSlow(Min <= Max);
|
||||
// Our asserts are not constexpr-friendly yet
|
||||
// checkSlow(Min <= Max);
|
||||
|
||||
T Size = Max - Min;
|
||||
if (Size == 0)
|
||||
|
||||
Reference in New Issue
Block a user