Issue #32: Removed C++ variable list initialization due to compiler conflicts.

This commit is contained in:
J. de Vries
2016-05-24 13:31:26 +02:00
parent 30c6c04bf4
commit bd75a3b830

View File

@@ -20,8 +20,8 @@ private:
static std::string const & getRoot()
{
static char const * envRoot = getenv("LOGL_ROOT_PATH");
static char const * givenRoot {envRoot != nullptr ? envRoot : logl_root};
static std::string root {givenRoot != nullptr ? givenRoot : ""};
static char const * givenRoot = (envRoot != nullptr ? envRoot : logl_root);
static std::string root = (givenRoot != nullptr ? givenRoot : "");
return root;
}