| 23 | namespace { |
| 24 | |
| 25 | [[nodiscard]] std::optional<QPointF> referencePointAt(const QwtPlotCurve* curve, std::optional<QPointF> reference) { |
| 26 | return reference.has_value() ? curvePointAt(curve, reference->x()) : std::nullopt; |
| 27 | } |
| 28 | |
| 29 | } // namespace |
| 30 |
no test coverage detected