diff options
Diffstat (limited to 'src/test/test_c2c.cc')
-rw-r--r-- | src/test/test_c2c.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_c2c.cc b/src/test/test_c2c.cc index a8b12dadd41..5fe1ac2f1fc 100644 --- a/src/test/test_c2c.cc +++ b/src/test/test_c2c.cc @@ -34,8 +34,7 @@ void sigterm_handler(int signum) int main(int argc, const char **argv) { int ret = 0; - std::vector<const char*> args; - argv_to_vec(argc, argv, args); + auto args = argv_to_vec(argc, argv); auto cct = global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, CINIT_FLAG_NO_DEFAULT_CONFIG_FILE); |