Skip to content

Commit 2a084a5

Browse files
committed
fix params
1 parent 57de4ae commit 2a084a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

google/cloud/bigtable/client.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ using ::google::cloud::internal::OptionsSpan;
2727

2828
StatusOr<PreparedQuery> Client::PrepareQuery(InstanceResource const& instance,
2929
SqlStatement const& statement,
30-
Options option) {
31-
OptionsSpan span(MergeOptions(std::move(option), opts_));
30+
Options opts) {
31+
OptionsSpan span(MergeOptions(std::move(opts), opts_));
3232
PrepareQueryParams params{std::move(instance), std::move(statement)};
3333
return conn_->PrepareQuery(std::move(params));
3434
}
@@ -40,8 +40,8 @@ future<StatusOr<PreparedQuery>> Client::AsyncPrepareQuery(
4040
return conn_->AsyncPrepareQuery(std::move(params));
4141
}
4242

43-
RowStream Client::ExecuteQuery(BoundQuery&& bound_query, Options option) {
44-
OptionsSpan span(MergeOptions(std::move(option), opts_));
43+
RowStream Client::ExecuteQuery(BoundQuery&& bound_query, Options opts) {
44+
OptionsSpan span(MergeOptions(std::move(opts), opts_));
4545
return conn_->ExecuteQuery({std::move(bound_query)});
4646
}
4747

0 commit comments

Comments
 (0)