Skip to content

Commit 882f299

Browse files
committed
chore: move value
1 parent 08930aa commit 882f299

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/cloud/bigtable/internal/data_connection_impl_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void MakeResponse(google::bigtable::v2::PartialResultSet& response,
230230
value.set_string_value(v);
231231
*(*value.mutable_type()).mutable_string_type() =
232232
std::move(google::bigtable::v2::Type_String{});
233-
*proto_rows.add_values() = value;
233+
*proto_rows.add_values() = std::move(value);
234234
}
235235
auto text = absl::Substitute(
236236
R"pb(

google/cloud/bigtable/internal/partial_result_set_resume_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void MakeResponse(google::bigtable::v2::PartialResultSet& response,
8383
value.set_string_value(v);
8484
*(*value.mutable_type()).mutable_string_type() =
8585
std::move(google::bigtable::v2::Type_String{});
86-
*proto_rows.add_values() = value;
86+
*proto_rows.add_values() = std::move(value);
8787
}
8888
auto text = absl::Substitute(
8989
R"pb(

0 commit comments

Comments
 (0)