Skip to content

Commit

Permalink
Include <cmath> as required to use std::fabs
Browse files Browse the repository at this point in the history
Previously, math.h was included instead, but this is C++ code.
  • Loading branch information
gdt authored and nyalldawson committed Nov 28, 2022
1 parent 7ada1c1 commit 98995b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/plot/qgsplotrubberband.cpp
Expand Up @@ -20,7 +20,7 @@

#include <QGraphicsScene>
#include <QGraphicsRectItem>
#include <math.h>
#include <cmath>

QgsPlotRubberBand::QgsPlotRubberBand( QgsPlotCanvas *canvas )
: mCanvas( canvas )
Expand Down

0 comments on commit 98995b2

Please sign in to comment.