From 09cb64b84f2b0f81b175824713cc247d9a629ddc Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sun, 18 Feb 2024 00:48:17 -0600 Subject: [PATCH] Boost zip iterator type deduction fix for gcc --- scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp b/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp index a457a1c4..5fbdcf8c 100644 --- a/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp +++ b/scwx-qt/source/scwx/qt/gl/draw/linked_vectors.cpp @@ -34,7 +34,9 @@ struct LinkedVectorDrawItem boost::make_zip_iterator( boost::make_tuple(endI.begin(), endJ.begin())), boost::make_zip_iterator(boost::make_tuple(endI.end(), endJ.end())), - [this, ¢er](const auto& p) + [this, + ¢er](const boost::tuple, + units::length::kilometers>& p) { coordinates_.push_back(util::GeographicLib::GetCoordinate( center, p.get<0>(), p.get<1>()));