fix a crash when calling one of the SGHandInterpolatorImpl constructors which happens due to unintialized pimpl object

This commit is contained in:
Mamadou Babaei
2024-03-22 20:54:43 +01:00
parent 4a8812943b
commit 0a5553987f
@@ -94,6 +94,7 @@ FSGHandInterpolatorImpl::FSGHandInterpolatorImpl()
}
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const bool bRightHanded)
: Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
{
Pimpl->HandInterpolator = FHandInterpolatorType(bRightHanded);
}