Another std::move

This commit is contained in:
Erica Fischer
2024-01-25 10:47:52 -08:00
parent 6a554b501c
commit 09f271646d
+1 -2
View File
@@ -306,7 +306,6 @@ struct sorted_value {
std::string mvt_tile::encode() {
std::string data;
protozero::pbf_writer writer(data);
for (size_t i = 0; i < layers.size(); i++) {
@@ -359,7 +358,7 @@ std::string mvt_tile::encode() {
}
sorted_value sv;
sv.val = value_string;
sv.val = std::move(value_string);
sv.orig = v;
sorted_values.push_back(std::move(sv));
}