We don't have any places in the code where we can std::move both the
key and value to construct the map, so dropping this code.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
return ret;
}
-void rgw_add_to_iam_environment(rgw::IAM::Environment& e, std::string&& key, std::string&& val){
- e.emplace(std::piecewise_construct,
- std::forward_as_tuple(key),
- std::forward_as_tuple(val));
-}
-
void rgw_add_to_iam_environment(rgw::IAM::Environment& e, const std::string& key, const std::string& val){
e[key] = val;
}