aboutsummaryrefslogtreecommitdiff
path: root/src/content_mapblock.cpp
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-04 21:00:04 +0200
committerGitHub <noreply@github.com>2017-06-04 21:00:04 +0200
commita98baef5e4fedca36c8c8755ad7c8233469f6a3f (patch)
treec40d1468774cf988b4567f33e89875e0c43803a7 /src/content_mapblock.cpp
parent2362d3f926e2702585f60011d4cea90b4faf4bd6 (diff)
downloadminetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.tar.xz
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
Diffstat (limited to 'src/content_mapblock.cpp')
-rw-r--r--src/content_mapblock.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp
index e6dd8e83e..326433141 100644
--- a/src/content_mapblock.cpp
+++ b/src/content_mapblock.cpp
@@ -29,7 +29,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client.h"
#include "log.h"
#include "noise.h"
-#include "util/cpp11.h"
// Distance of light extrapolation (for oversized nodes)
// After this distance, it gives up and considers light level constant
@@ -43,7 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// Corresponding offsets are listed in g_27dirs
#define FRAMED_NEIGHBOR_COUNT 18
-static constexpr v3s16 light_dirs[8] = {
+static const v3s16 light_dirs[8] = {
v3s16(-1, -1, -1),
v3s16(-1, -1, 1),
v3s16(-1, 1, -1),