Remove unnecessary std::move().

This fixes a warning from clang-tidy:

    warning: std::move of the variable 'mapping' of the trivially-copyable
        type 'AxisValueMap' has no effect [performance-move-const-arg]
This commit is contained in:
Bruce Mitchener 2024-02-17 15:23:29 +07:00 committed by Behdad Esfahbod
parent 3cfdbd6717
commit fb6d4d27d6

View file

@ -230,7 +230,7 @@ struct SegmentMaps : Array16Of<AxisValueMap>
* duplicates here */
if (mapping.must_include ())
continue;
value_mappings.push (std::move (mapping));
value_mappings.push (mapping);
}
AxisValueMap m;