apply const correctness to method parameters
This commit is contained in:
@@ -78,7 +78,7 @@ struct FSGBasicHandModelImpl::FImpl
|
||||
FImpl& operator=(const FImpl& Rhs) = default;
|
||||
};
|
||||
|
||||
FSGBasicHandModelImpl FSGBasicHandModelImpl::Default(bool bRightHanded)
|
||||
FSGBasicHandModelImpl FSGBasicHandModelImpl::Default(const bool bRightHanded)
|
||||
{
|
||||
return FSGBasicHandModelImpl(FSGBasicHandModelImpl::FBasicHandModelType::Default(bRightHanded));
|
||||
}
|
||||
@@ -127,7 +127,7 @@ FSGBasicHandModelImpl::FSGBasicHandModelImpl()
|
||||
{
|
||||
}
|
||||
|
||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
||||
const TArray<FVector>& StartPositions)
|
||||
:
|
||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
||||
@@ -148,7 +148,7 @@ FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TAr
|
||||
MoveTemp(StartPositionsVector));
|
||||
}
|
||||
|
||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
||||
const TArray<FVector>& StartPositions, const TArray<FQuat>& StartRotations)
|
||||
:
|
||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
||||
|
||||
Reference in New Issue
Block a user