From 27df9145f5975ea52112deaf8644352b5ae38c54 Mon Sep 17 00:00:00 2001 From: Rebecca Cox Date: Wed, 25 Oct 2017 16:00:42 +0200 Subject: [PATCH] Fix build --- ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp b/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp index 8939b6b94b..a96b14de75 100644 --- a/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp +++ b/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp @@ -40,7 +40,7 @@ void RiuPlotAnnotationTool::attachFormationNames(const std::vector& nam for (size_t i = 0; i < names.size(); i++) { - std::unique_ptr line(std::make_unique()); + std::unique_ptr line(new QwtPlotMarker()); line->setLineStyle(QwtPlotMarker::HLine); line->setLinePen(curvePen); @@ -57,7 +57,7 @@ void RiuPlotAnnotationTool::attachFormationNames(const std::vector& nam if ((i == names.size() - 1) || cvf::Math::abs(yPositions[i].second - yPositions[i+1].first) > delta) { - std::unique_ptr line(std::make_unique()); + std::unique_ptr line(new QwtPlotMarker()); line->setLineStyle(QwtPlotMarker::HLine); line->setLinePen(curvePen);