summaryrefslogtreecommitdiff
path: root/src/light.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-08-18 08:21:01 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-08-18 08:21:01 +0200
commit951f1201c413c1137cfbef771bdd575c9c7e01bb (patch)
treeed026ec17a71e46232a87f8ee95e599503f335cb /src/light.cpp
parent1d086aee7cc193bed2f8ca09cc2e020f509378f1 (diff)
downloadminetest-951f1201c413c1137cfbef771bdd575c9c7e01bb.tar.gz
minetest-951f1201c413c1137cfbef771bdd575c9c7e01bb.tar.bz2
minetest-951f1201c413c1137cfbef771bdd575c9c7e01bb.zip
Modernize various files (src/k*, src/l*)
* range-based for loops * code style * C++ headers instead of C headers * Default operators
Diffstat (limited to 'src/light.cpp')
-rw-r--r--src/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/light.cpp b/src/light.cpp
index b269f6233..575bc2c72 100644
--- a/src/light.cpp
+++ b/src/light.cpp
@@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/
#include "light.h"
-#include <math.h>
+#include <cmath>
#include "util/numeric.h"
#include "settings.h"