Skip to content

Commit

Permalink
light.cpp const -> constexpr for #210
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Jun 11, 2021
1 parent aff4acf commit 03f2f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/world/light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ static void clearsurfaces(cube *c)
}


static const int lightcacheentries = 1024;
static constexpr int lightcacheentries = 1024;

static struct lightcacheentry
{
Expand Down

0 comments on commit 03f2f91

Please sign in to comment.