Fix test_config2
The static structures referred to non-static data.
This commit is contained in:
@ -238,8 +238,8 @@ int test_enum(config::Enum<Enum>& value)
|
|||||||
|
|
||||||
int test_path(config::Path& value)
|
int test_path(config::Path& value)
|
||||||
{
|
{
|
||||||
char path[PATH_MAX];
|
static char path[PATH_MAX];
|
||||||
char* strpath = getcwd(path, sizeof(path));
|
static char* strpath = getcwd(path, sizeof(path));
|
||||||
|
|
||||||
static const TestEntry<config::Path::value_type> entries[] =
|
static const TestEntry<config::Path::value_type> entries[] =
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user