We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b46d0 commit 8727ff0Copy full SHA for 8727ff0
google/cloud/storage/internal/async/connection_impl.cc
@@ -195,8 +195,8 @@ future<
195
StatusOr<std::shared_ptr<storage_experimental::ObjectDescriptorConnection>>>
196
AsyncConnectionImpl::Open(OpenParams p) {
197
auto initial_request = google::storage::v2::BidiReadObjectRequest{};
198
- *initial_request.mutable_read_object_spec() = std::move(p.read_spec);
199
- auto current = internal::MakeImmutableOptions(std::move(p.options));
+ *initial_request.mutable_read_object_spec() = p.read_spec;
+ auto current = internal::MakeImmutableOptions(p.options);
200
// Get the policy factory and immediately create a policy.
201
auto resume_policy =
202
current->get<storage_experimental::ResumePolicyOption>()();
0 commit comments