]> git.lizzy.rs Git - minetest.git/commitdiff
"static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261)
authormazocomp <33579456+mazocomp@users.noreply.github.com>
Sat, 21 Apr 2018 11:07:25 +0000 (14:07 +0300)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:32:00 +0000 (17:32 +0200)
src/content_mapblock.cpp

index e6dd8e83e7dddbfc1cc4954c7cad009a2d43ca8e..7e93c13417e04e7bba57f2d544dc232a9e6cd40d 100644 (file)
@@ -43,7 +43,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),