diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc index bd2d89e4f27..78d9f61d8d5 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc +++ b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc @@ -54,8 +54,7 @@ void GeometryDataSource::foreach_default_column_ids( return true; } SpreadsheetColumnID column_id; - std::string name = attribute_id.name(); - column_id.name = (char *)name.c_str(); + column_id.name = (char *)attribute_id.name().data(); fn(column_id); return true; }); |