Merge pull request #7867 from Tilka/gcc_ice

Work around GCC 8.2 ICE
This commit is contained in:
JosJuice 2019-03-08 20:04:28 +01:00 committed by GitHub
commit f6b856d01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ void CameraLogic::Update(const Common::Matrix44& transform, bool sensor_bar_on_t
std::array<CameraPoint, leds.size()> camera_points;
std::transform(leds.begin(), leds.end(), camera_points.begin(), [&](auto& v) {
std::transform(leds.begin(), leds.end(), camera_points.begin(), [&](const Vec3& v) {
const auto point = camera_view * Vec4(v, 1.0);
if (point.z > 0)