Making most logger categories constexpr

This commit is contained in:
Alexander Bock
2017-12-11 23:46:34 -05:00
parent 6c742b7e30
commit a631b7e0a3
91 changed files with 310 additions and 303 deletions

View File

@@ -41,9 +41,9 @@
#include "scriptengine_lua.inl"
namespace {
const char* _loggerCat = "ScriptEngine";
constexpr const char* _loggerCat = "ScriptEngine";
const int TableOffset = -3; // -1 (top) -1 (first argument) -1 (second argument)
constexpr int TableOffset = -3; // -1 (top) -1 (first argument) -1 (second argument)
} // namespace
namespace openspace::scripting {