]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/objectstore/test_idempotent_sequence.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / objectstore / test_idempotent_sequence.cc
index 7cf31fa92984537b4bb55d361eb09cafd50cb616..cac395c36fc0b7aaf861d3e86e221b16cf2473b5 100644 (file)
@@ -32,6 +32,8 @@
 #undef dout_prefix
 #define dout_prefix *_dout << "test_idempotent_sequence "
 
+using namespace std;
+
 void usage(const char *name, std::string command = "") {
   ceph_assert(name != NULL);
 
@@ -210,9 +212,8 @@ int run_command(std::string& command, std::vector<std::string>& args)
 
 int main(int argc, const char *argv[])
 {
-  vector<const char*> args;
   our_name = argv[0];
-  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,