Resolve compiler warning for signed indexing

This commit is contained in:
Elvir Crncevic 2020-08-07 12:58:34 +02:00 committed by Marc Garcia Puig
parent 2871475659
commit 49c4286fce
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ void ARayCastSemanticLidar::SimulateLidar(const float DeltaTime)
GetWorld()->GetPhysicsScene()->GetPxScene()->lockRead();
ParallelFor(ChannelCount, [&](int32 idxChannel) {
for (int idxPtsOneLaser = 0; idxPtsOneLaser < PointsToScanWithOneLaser; idxPtsOneLaser++) {
for (auto idxPtsOneLaser = 0u; idxPtsOneLaser < PointsToScanWithOneLaser; idxPtsOneLaser++) {
FHitResult HitResult;
const float VertAngle = LaserAngles[idxChannel];
const float HorizAngle = CurrentHorizontalAngle + AngleDistanceOfLaserMeasure * idxPtsOneLaser;