diff options
Diffstat (limited to 'src/test/objectstore/ObjectStoreTransactionBenchmark.cc')
-rw-r--r-- | src/test/objectstore/ObjectStoreTransactionBenchmark.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/objectstore/ObjectStoreTransactionBenchmark.cc b/src/test/objectstore/ObjectStoreTransactionBenchmark.cc index 414608e0420..e2ce3b2ef08 100644 --- a/src/test/objectstore/ObjectStoreTransactionBenchmark.cc +++ b/src/test/objectstore/ObjectStoreTransactionBenchmark.cc @@ -241,8 +241,7 @@ void usage(const string &name) { int main(int argc, char **argv) { - vector<const char*> args; - argv_to_vec(argc, (const char **)argv, args); + auto args = argv_to_vec(argc, argv); auto cct = global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, |