mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix build
This commit is contained in:
parent
89cedb350a
commit
27df9145f5
@ -40,7 +40,7 @@ void RiuPlotAnnotationTool::attachFormationNames(const std::vector<QString>& nam
|
|||||||
|
|
||||||
for (size_t i = 0; i < names.size(); i++)
|
for (size_t i = 0; i < names.size(); i++)
|
||||||
{
|
{
|
||||||
std::unique_ptr<QwtPlotMarker> line(std::make_unique<QwtPlotMarker>());
|
std::unique_ptr<QwtPlotMarker> line(new QwtPlotMarker());
|
||||||
|
|
||||||
line->setLineStyle(QwtPlotMarker::HLine);
|
line->setLineStyle(QwtPlotMarker::HLine);
|
||||||
line->setLinePen(curvePen);
|
line->setLinePen(curvePen);
|
||||||
@ -57,7 +57,7 @@ void RiuPlotAnnotationTool::attachFormationNames(const std::vector<QString>& nam
|
|||||||
|
|
||||||
if ((i == names.size() - 1) || cvf::Math::abs(yPositions[i].second - yPositions[i+1].first) > delta)
|
if ((i == names.size() - 1) || cvf::Math::abs(yPositions[i].second - yPositions[i+1].first) > delta)
|
||||||
{
|
{
|
||||||
std::unique_ptr<QwtPlotMarker> line(std::make_unique<QwtPlotMarker>());
|
std::unique_ptr<QwtPlotMarker> line(new QwtPlotMarker());
|
||||||
|
|
||||||
line->setLineStyle(QwtPlotMarker::HLine);
|
line->setLineStyle(QwtPlotMarker::HLine);
|
||||||
line->setLinePen(curvePen);
|
line->setLinePen(curvePen);
|
||||||
|
Loading…
Reference in New Issue
Block a user