diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-02-15 13:59:11 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-02-15 14:16:22 +0000 |
commit | 930cb9aa6409fda28bbeae268923b91e552f23fa (patch) | |
tree | 0cae7825cc25232d05436ad5a9f6b5faa56e1c47 /config/src/tests/misc/configsystem.cpp | |
parent | 5c163650a15ac1bc39657a28bbdc9dd57051cc62 (diff) |
use size literals in config
Diffstat (limited to 'config/src/tests/misc/configsystem.cpp')
-rw-r--r-- | config/src/tests/misc/configsystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/src/tests/misc/configsystem.cpp b/config/src/tests/misc/configsystem.cpp index 9574d9d274a..b8748cdbc5b 100644 --- a/config/src/tests/misc/configsystem.cpp +++ b/config/src/tests/misc/configsystem.cpp @@ -1,5 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> +#include <vespa/vespalib/util/size_literals.h> #include <vespa/config/common/configsystem.h> #include <vespa/defaults.h> #include <vespa/fastos/file.h> @@ -10,7 +11,7 @@ using namespace config; namespace { const char *VESPA_HOME="VESPA_HOME"; -char cwd[1024]; +char cwd[1_Ki]; } |