aboutsummaryrefslogtreecommitdiff
path: root/src/imagefilters.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-08-18 08:07:59 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-08-18 08:07:59 +0200
commit1d086aee7cc193bed2f8ca09cc2e020f509378f1 (patch)
tree106347a80cefc8b4f9d884e669a573da653d4178 /src/imagefilters.cpp
parent55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e (diff)
downloadminetest-1d086aee7cc193bed2f8ca09cc2e020f509378f1.tar.xz
Modernize various files (part 2)
* range-based for loops * emplace_back instead of push_back * code style * C++ headers instead of C headers * Default operators * empty stl function
Diffstat (limited to 'src/imagefilters.cpp')
-rw-r--r--src/imagefilters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imagefilters.cpp b/src/imagefilters.cpp
index b34027725..dd029628f 100644
--- a/src/imagefilters.cpp
+++ b/src/imagefilters.cpp
@@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "imagefilters.h"
#include "util/numeric.h"
-#include <math.h>
+#include <cmath>
/* Fill in RGB values for transparent pixels, to correct for odd colors
* appearing at borders when blending. This is because many PNG optimizers