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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user