Skip to content

Commit 98a4847

Browse files
committed
replace with emplace
1 parent 87f75af commit 98a4847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/bigtable/internal/data_connection_impl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ StatusOr<bigtable::PreparedQuery> DataConnectionImpl::PrepareQuery(
626626
request.set_app_profile_id(app_profile_id(*current));
627627
request.set_query(params.sql_statement.sql());
628628
for (auto const& p : params.sql_statement.params()) {
629-
request.mutable_param_types()->insert(
629+
request.mutable_param_types()->emplace(
630630
std::make_pair(p.first, p.second.type()));
631631
}
632632
auto response = google::cloud::internal::RetryLoop(

0 commit comments

Comments
 (0)