Convert static variable to constexpr

pull/179/head
Hleb Valoshka 2018-12-18 23:04:17 +03:00
parent b02a1184d5
commit 372ebfb4f5
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
#include <celengine/parser.h>
static const unsigned int MAX_DSO_NAMES = 10;
constexpr const unsigned int MAX_DSO_NAMES = 10;
// 100 Gly - on the order of the current size of the universe
constexpr const float DSO_OCTREE_ROOT_SIZE = 1.0e11f;