clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / bin / lttng-sessiond / ust-field-convert.cpp
index 67fcdf1b21b786e2a90e7a0d10e19835b9d6f68d..62ac4825bf96361a941e7fb67da419c7276209d1 100644 (file)
@@ -539,7 +539,7 @@ lst::type::cuptr create_sequence_nestable_type_from_ust_ctl_fields(
 
        lst::field_location::elements length_field_location_elements =
                current_field_location_elements;
-       length_field_location_elements.emplace_back(std::move(length_field_name));
+       length_field_location_elements.emplace_back(length_field_name);
 
        lst::field_location length_field_location{ lookup_root,
                                                   std::move(length_field_location_elements) };
This page took 0.022521 seconds and 4 git commands to generate.