fix a build issue inside FSGArrayUtils::FromStdVector introduced by newer msvc updates due to stricter implicit uint64 to int32 conversions

This commit is contained in:
Mamadou Babaei
2024-03-22 21:03:59 +01:00
parent 4e52fd5cbd
commit 55caf9fc2b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@ This is the second major release of the SenseGlove Unreal Engine Plugin adding s
- Revamped the way we do FVector <-> SGVect3D, FQuat <-> SGQuat, and SenseGlove <-> Unreal Engine angles conversions in order to properly translate between the SenseGlove and Unreal Engine coordinate systems.
- Allow the C++ compiler the opportunity to perform RVO/NRVO if applicable.
- Fix the modules' order inside the .uplugin file.
- Fix a build issue inside FSGArrayUtils::FromStdVector introduced by newer MVSC updates due to stricter implicit uint64 to int32 conversions.
- Fix changelog formatting.
### Changed
@@ -50,7 +50,7 @@ public:
template<typename T>
static FORCEINLINE TArray<T> FromStdVector(const std::vector<T>& Vector)
{
const TArray<T> Array{&Vector[0], Vector.size()};
const TArray<T> Array{&Vector[0], StaticCast<TArray<T>::SizeType>(Vector.size())};
return Array;
}