]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_loadgen.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / rgw / rgw_loadgen.cc
index 9b5e3401436072bfe92f6746c7fffdc5f9ea4df1..a8e6fd7b2bf6550583b73152c7ced0eda1c3649b 100644 (file)
@@ -1,5 +1,5 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
-// vim: ts=8 sw=2 smarttab
+// vim: ts=8 sw=2 smarttab ft=cpp
 
 #include <algorithm>
 #include <sstream>
@@ -18,7 +18,7 @@ void RGWLoadGenRequestEnv::set_date(utime_t& tm)
 
 int RGWLoadGenRequestEnv::sign(RGWAccessKey& access_key)
 {
-  map<string, string> meta_map;
+  meta_map_t meta_map;
   map<string, string> sub_resources;
 
   string canonical_header;
@@ -29,7 +29,7 @@ int RGWLoadGenRequestEnv::sign(RGWAccessKey& access_key)
                                  content_type.c_str(),
                                  date_str.c_str(),
                                  meta_map,
-                                map<string, string>{},
+                                                meta_map_t{},
                                  uri.c_str(),
                                  sub_resources,
                                  canonical_header);