fix android build issue inside FSGArrayUtils::FromStdVector introduced by 0cdc7e03ac
This commit is contained in:
@@ -50,7 +50,14 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
static FORCEINLINE TArray<T> FromStdVector(const std::vector<T>& Vector)
|
static FORCEINLINE TArray<T> FromStdVector(const std::vector<T>& Vector)
|
||||||
{
|
{
|
||||||
const TArray<T> Array{&Vector[0], StaticCast<TArray<T>::SizeType>(Vector.size())};
|
const TArray<T> Array{&Vector[0], StaticCast<
|
||||||
|
#if !PLATFORM_ANDROID
|
||||||
|
TArray<T>::SizeType
|
||||||
|
#else /* !PLATFORM_ANDROID */
|
||||||
|
int32
|
||||||
|
#endif /* !PLATFORM_ANDROID */
|
||||||
|
>(Vector.size())
|
||||||
|
};
|
||||||
return Array;
|
return Array;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user