From b94be3e23e50547295308d94aa1d5aa313ad15fc Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 2 May 2024 23:19:34 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 008da58..ff2a77a 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -895,7 +895,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) { i += (i + 2) < max_len ? 1 : 0; // Skipping a point to optimize rendering } - } catch (const exception& e) { + } catch (const std::exception& e) { // Default shading if for some reason the above code fails bg = QLinearGradient(0, height(), 0, 0); bg.setColorAt(0.0, QColor(center_lane_color.red(), center_lane_color.green(), center_lane_color.blue(), static_cast(other_alpha * 255 * 0.4)));